fix: merge armature does not retain VRCConstraint bone references

This commit is contained in:
bd_ 2024-08-18 21:44:56 -07:00
parent 981386acf4
commit 5c3a39836c

View File

@ -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))