Skip to content

Commit

Permalink
Added workaround for issue #18
Browse files Browse the repository at this point in the history
  • Loading branch information
keijiro committed Aug 24, 2017
1 parent a3e760d commit 3ec7e95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Assets/Skinner/SkinnerSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,12 @@ void LateUpdate()
_camera.RenderWithShader(_replacementShaderTangent, "Skinner");
}

// We manually disable the skinned mesh renderer here because
// there is a regression from 2017.1.0 that prevents
// CallingStateController from being called in OnPostRender.
// This is a pretty hackish workaround, so FIXME later.
GetComponent<SkinnedMeshRenderer>().enabled = false;

_frameCount++;
}

Expand Down

0 comments on commit 3ec7e95

Please sign in to comment.