mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-02-01 03:02:56 +08:00
Fix exception caused by nested MA Parameters using the same parameter name
This commit is contained in:
parent
aca6af3cb4
commit
7ed1593bda
@ -380,12 +380,12 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
{
|
||||
var suffixKey = param.nameOrPrefix + suffix;
|
||||
var suffixValue = remapTo + suffix;
|
||||
remaps = remaps.Add(suffixKey, suffixValue);
|
||||
remaps = remaps.SetItem(suffixKey, suffixValue);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
remaps = remaps.Add(param.nameOrPrefix, remapTo);
|
||||
remaps = remaps.SetItem(param.nameOrPrefix, remapTo);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user