Skip to content

Commit

Permalink
chore: mark manually merged bone as merged bone in auto configure Mer…
Browse files Browse the repository at this point in the history
…geBone
  • Loading branch information
anatawa12 committed Sep 21, 2023
1 parent bf2ec9e commit dea585e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ bool ConfigureRecursive(Transform transform, ImmutableModificationsContainer mod
| ComponentDependencyCollector.DependencyType.Parent
| ComponentDependencyCollector.DependencyType.ComponentToTransform;

// Already Merged
if (transform.GetComponent<MergeBone>()) return true;
// Components must be Transform Only
if (transform.GetComponents<Component>().Length != 1) return false;
// The bone cannot be used generally
Expand Down

0 comments on commit dea585e

Please sign in to comment.