mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-12 15:38:59 +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;
|
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…
x
Reference in New Issue
Block a user