mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-04 19:49:02 +08:00
fix: NRE when Move Independently is placed on a scene root
Closes: #1317
This commit is contained in:
parent
e0702c5dcf
commit
3f5ed4a7e9
@ -218,6 +218,8 @@ namespace nadena.dev.modular_avatar.core.ArmatureAwase
|
||||
return;
|
||||
}
|
||||
|
||||
if (transform.parent == null) return;
|
||||
|
||||
var pos = transform.localPosition;
|
||||
var rot = transform.localRotation;
|
||||
var scale = transform.localScale;
|
||||
|
Loading…
x
Reference in New Issue
Block a user