mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
fix: NRE when Move Independently is placed on a scene root (#1321)
Closes: #1317
This commit is contained in:
parent
efa263b551
commit
1153abd16e
@ -218,6 +218,8 @@ namespace nadena.dev.modular_avatar.core.ArmatureAwase
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (transform.parent == null) return;
|
||||||
|
|
||||||
var pos = transform.localPosition;
|
var pos = transform.localPosition;
|
||||||
var rot = transform.localRotation;
|
var rot = transform.localRotation;
|
||||||
var scale = transform.localScale;
|
var scale = transform.localScale;
|
||||||
|
Loading…
Reference in New Issue
Block a user