mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
fix: ScaleAdjuster breaks in play mode (#705)
This commit is contained in:
parent
e590113a28
commit
e7b09fd787
@ -22,6 +22,7 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
UnityEngine.Object.DestroyImmediate(component);
|
||||
|
||||
proxyTransform.localScale = parentAdjuster.Scale;
|
||||
parentAdjuster.scaleProxy = null; // prevent destruction of the ScaleProxy itself
|
||||
UnityEngine.Object.DestroyImmediate(parentAdjuster);
|
||||
|
||||
boneMappings.Add(proxyTransform.parent, proxyTransform);
|
||||
|
Loading…
Reference in New Issue
Block a user