mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 02:35:06 +08:00
fix: merge armature does not retain VRCConstraint bone references (#1020)
This commit is contained in:
parent
e7e030f0db
commit
c7df409d70
@ -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