Compare commits

...

2 Commits
main ... 1.11.6

Author SHA1 Message Date
bd_
0ee8ec6385 1.11.6 2025-02-19 18:26:46 -08:00
bd_
930d25a4f6
fix: incorrect initial state for inverted Shape Changers (#1457) 2025-02-19 18:26:06 -08:00
2 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ namespace nadena.dev.modular_avatar.core.editor
var action = ObjectRule(key, changer, value);
action.Inverted = _computeContext.Observe(changer, c => c.Inverted);
if (changer.gameObject.activeInHierarchy) info.currentState = action.Value;
if (changer.gameObject.activeInHierarchy ^ changer.Inverted) info.currentState = action.Value;
if (info.actionGroups.Count == 0)
{

View File

@ -1,7 +1,7 @@
{
"name": "nadena.dev.modular-avatar",
"displayName": "Modular Avatar",
"version": "1.11.5",
"version": "1.11.6",
"unity": "2022.3",
"description": "A suite of tools for assembling your avatar out of reusable components",
"author": {