Removed check on weight for hybrid lip sync mode switch detection.

This commit is contained in:
Emiliana 2020-09-05 15:55:29 +02:00
parent 1aca1bee66
commit 5bf3648b68

View file

@ -265,7 +265,7 @@ public class OpenSeeVRMDriver : MonoBehaviour {
}
float weight;
OVRLipSync.Viseme current = GetActiveViseme(out weight);
if (current == OVRLipSync.Viseme.sil && (weight > 0.9999f || weight < 0.0001f)) {
if (current == OVRLipSync.Viseme.sil) {
if (wasSilViseme) {
if (hybridLipSync && Time.time - startedSilVisemes > silVisemeHybridThreshold) {
ApplyMouthShape();