mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-03-11 00:04:56 +08:00
fix: RO Simulator triggers all parameters (#1076)
This commit is contained in:
parent
c309d93bdd
commit
ece8a6837a
@ -126,6 +126,7 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
if (mami?.Control != null && simulationInitialStates != null && ShouldAssignParametersToMami(mami))
|
if (mami?.Control != null && simulationInitialStates != null && ShouldAssignParametersToMami(mami))
|
||||||
{
|
{
|
||||||
paramName = "___AutoProp/" + mami.Control?.parameter?.name;
|
paramName = "___AutoProp/" + mami.Control?.parameter?.name;
|
||||||
|
if (paramName == "___AutoProp/") paramName += mami.GetInstanceID();
|
||||||
|
|
||||||
if (mami.isDefault)
|
if (mami.isDefault)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user