mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-02-06 13:52:49 +08:00
fix: blendshape sync breaks with default binding
This commit is contained in:
parent
2bfefc7bac
commit
db49e2e210
@ -94,7 +94,11 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
_bindingMappings[srcBinding] = dstBindings;
|
||||
}
|
||||
|
||||
dstBindings.Add(new SummaryBinding(targetObj, binding.LocalBlendshape));
|
||||
var targetBlendshapeName = string.IsNullOrWhiteSpace(binding.LocalBlendshape)
|
||||
? binding.Blendshape
|
||||
: binding.LocalBlendshape;
|
||||
|
||||
dstBindings.Add(new SummaryBinding(targetObj, targetBlendshapeName));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user