Merge pull request #2130 from Santarh/expressionBreaking

[API Behaviour Breaking Change] Don't change raw blendshapes immediately when calling `Vrm10RuntimeExpression.SetWeights()`
This commit is contained in:
Masataka SUMI 2023-08-16 12:37:31 +09:00 committed by GitHub
commit b74f28a4e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,6 @@ namespace UniVRM10
_inputWeights[expressionKey] = weight;
}
}
Apply();
}
public void SetWeightsNonAlloc(Dictionary<ExpressionKey, float> 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();
}
/// <summary>