mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-29 09:42:51 +08:00
fix: deletedShape animation curves are retained in final avatar animations
This results in downstream tools such as AAO improperly treating these objects as animated.
This commit is contained in:
parent
129ad4dc35
commit
18569ab556
@ -286,6 +286,15 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Remove all deletedShape. props to avoid creating animator noise that'll confuse tools like AAO
|
||||
foreach (var key in shapes.Keys.ToList())
|
||||
{
|
||||
if (key.PropertyName.StartsWith(ReactiveObjectAnalyzer.DeletedShapePrefix))
|
||||
{
|
||||
shapes.Remove(key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user