mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-01 20:25:07 +08:00
fix: merge armature does not retain VRCConstraint bone references
This commit is contained in:
parent
981386acf4
commit
5c3a39836c
@ -107,6 +107,9 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
if (c.rootTransform == null) c.rootTransform = c.transform;
|
||||
RetainBoneReferences(c);
|
||||
}
|
||||
|
||||
foreach (var c in avatarGameObject.transform.GetComponentsInChildren<VRCConstraintBase>(true))
|
||||
RetainBoneReferences(c);
|
||||
#endif
|
||||
|
||||
foreach (var c in avatarGameObject.transform.GetComponentsInChildren<IConstraint>(true))
|
||||
|
Loading…
Reference in New Issue
Block a user