Fixed warning.
This commit is contained in:
parent
529b77ef31
commit
07fd56fef8
1 changed files with 0 additions and 4 deletions
|
|
@ -415,22 +415,18 @@ public class OpenSeeVRMDriver : MonoBehaviour {
|
|||
if (perfectSync)
|
||||
InterpolatePerfectSync();
|
||||
if (clearPSBrows || clearPSEyes || clearPSMouth) {
|
||||
bool found = false;
|
||||
clearKeys.Clear();
|
||||
foreach (var pair in proxy.GetValues()) {
|
||||
string name = pair.Key.Name.ToUpper();
|
||||
if (clearPSBrows && browsBlendShapes.Contains(name)) {
|
||||
clearKeys[pair.Key] = 0f;
|
||||
values[pair.Key] = 0f;
|
||||
found = true;
|
||||
} else if (clearPSEyes && eyesBlendShapes.Contains(name)) {
|
||||
clearKeys[pair.Key] = 0f;
|
||||
values[pair.Key] = 0f;
|
||||
found = true;
|
||||
} else if (clearPSMouth && mouthBlendShapes.Contains(name)) {
|
||||
clearKeys[pair.Key] = 0f;
|
||||
values[pair.Key] = 0f;
|
||||
found = true;
|
||||
}
|
||||
}
|
||||
clearPSBrows = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue