From 506b2a5b048137da3e2a407b35511d35a5155f33 Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Tue, 15 Aug 2023 21:24:12 +0900 Subject: [PATCH] Don't change raw blendshapes immediately when setting Expression's weights. --- .../Runtime/Components/Vrm10Runtime/Vrm10RuntimeExpression.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Assets/VRM10/Runtime/Components/Vrm10Runtime/Vrm10RuntimeExpression.cs b/Assets/VRM10/Runtime/Components/Vrm10Runtime/Vrm10RuntimeExpression.cs index 4082f8b89..d2199b2fb 100644 --- a/Assets/VRM10/Runtime/Components/Vrm10Runtime/Vrm10RuntimeExpression.cs +++ b/Assets/VRM10/Runtime/Components/Vrm10Runtime/Vrm10RuntimeExpression.cs @@ -98,7 +98,6 @@ namespace UniVRM10 _inputWeights[expressionKey] = weight; } } - Apply(); } public void SetWeightsNonAlloc(Dictionary weights) @@ -110,7 +109,6 @@ namespace UniVRM10 _inputWeights[expressionKey] = weight; } } - Apply(); } public void SetWeight(ExpressionKey expressionKey, float weight) @@ -119,7 +117,6 @@ namespace UniVRM10 { _inputWeights[expressionKey] = weight; } - Apply(); } ///