Skip to content

Commit

Permalink
Always SkinnedMeshRenderer.updateWhenOffscreen is true for SkinnedMes…
Browse files Browse the repository at this point in the history
…hRenderer that created by VRMFirstPerson #133
  • Loading branch information
ousttrue committed Jan 23, 2019
1 parent 0df2074 commit 5267c42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/VRM/UniVRM/Scripts/FirstPerson/VRMFirstPerson.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ private static void CreateHeadlessModelForSkinnedMeshRenderer(SkinnedMeshRendere
erased.sharedMaterials = renderer.sharedMaterials;
erased.bones = renderer.bones;
erased.rootBone = renderer.rootBone;
erased.updateWhenOffscreen = true;
}

bool m_done;
Expand Down

0 comments on commit 5267c42

Please sign in to comment.