Small bugfix.

This commit is contained in:
Emiliana 2020-03-22 14:20:17 +01:00
parent 14b4bd9122
commit 381d3b67ec

View file

@ -298,6 +298,9 @@ public class OpenSeeVRMDriver : MonoBehaviour {
float t = Mathf.Clamp((float)mouthInterpolationCount / openSeeIKTarget.averageInterpolations, 0f, 0.985f);
mouthInterpolationCount++;
if (currentExpression != null && !currentExpression.enableVisemes)
return;
float expressionFactor = 1f;
if (currentExpression != null)
expressionFactor = currentExpression.visemeFactor;