From fde15a6b606dfd041c479443bb73a1d4c41986be Mon Sep 17 00:00:00 2001 From: ousttrue Date: Fri, 29 Jan 2021 19:13:12 +0900 Subject: [PATCH] meta --- Assets/VRM10.Samples/Runtime/ViewerUI.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/VRM10.Samples/Runtime/ViewerUI.cs b/Assets/VRM10.Samples/Runtime/ViewerUI.cs index 34762f6fe..96406053f 100644 --- a/Assets/VRM10.Samples/Runtime/ViewerUI.cs +++ b/Assets/VRM10.Samples/Runtime/ViewerUI.cs @@ -308,7 +308,6 @@ namespace UniVRM10.Samples // var context = new ImporterContext(); var file = File.ReadAllBytes(path); // context.ParseGlb(file); - // m_texts.UpdateMeta(context); // context.Load(); // context.ShowMeshes(); // context.EnableUpdateWhenOffscreen(); @@ -378,6 +377,9 @@ namespace UniVRM10.Samples if (go != null) { m_controller = go.GetComponent(); + + m_texts.UpdateMeta(m_controller); + m_controller.Controller.UpdateType = VRM10Controller.VRM10ControllerImpl.UpdateTypes.LateUpdate; // after HumanPoseTransfer's setPose { m_loaded = go.AddComponent();