Small fix
This commit is contained in:
parent
048304e509
commit
935a5fdf91
1 changed files with 1 additions and 1 deletions
|
|
@ -526,7 +526,7 @@ public class OpenSeeVRMDriver : MonoBehaviour {
|
||||||
string foundClipUp = null;
|
string foundClipUp = null;
|
||||||
string foundClipDown = null;
|
string foundClipDown = null;
|
||||||
foreach (BlendShapeClip clip in vrmBlendShapeProxy.BlendShapeAvatar.Clips) {
|
foreach (BlendShapeClip clip in vrmBlendShapeProxy.BlendShapeAvatar.Clips) {
|
||||||
if (clip.Preset == BlendShapePreset.Unknown) {
|
if (clip.Preset == BlendShapePreset.Unknown && clip.BlendShapeName != null) {
|
||||||
if (clip.BlendShapeName.ToUpper() == "BROWS UP")
|
if (clip.BlendShapeName.ToUpper() == "BROWS UP")
|
||||||
foundClipUp = clip.BlendShapeName;
|
foundClipUp = clip.BlendShapeName;
|
||||||
if (clip.BlendShapeName.ToUpper() == "BROWS DOWN")
|
if (clip.BlendShapeName.ToUpper() == "BROWS DOWN")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue