From 5267c420dfb5cd41fd96a46c4177dbdf327a8ad6 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 23 Jan 2019 12:41:45 +0900 Subject: [PATCH] Always SkinnedMeshRenderer.updateWhenOffscreen is true for SkinnedMeshRenderer that created by VRMFirstPerson #133 --- Assets/VRM/UniVRM/Scripts/FirstPerson/VRMFirstPerson.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/VRM/UniVRM/Scripts/FirstPerson/VRMFirstPerson.cs b/Assets/VRM/UniVRM/Scripts/FirstPerson/VRMFirstPerson.cs index 5dd966603c..ae6026b280 100644 --- a/Assets/VRM/UniVRM/Scripts/FirstPerson/VRMFirstPerson.cs +++ b/Assets/VRM/UniVRM/Scripts/FirstPerson/VRMFirstPerson.cs @@ -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;