Commit 5052781
committed
fix: Prevent creation of duplicate bone children
Checks for suffixes "_end" and "_Tail" in the name of a bone, then doesn't create child bone if there already is one of the aforementioned suffixes.
It also looks for an "_end" tail because Blender armatures might import into Roblox with a bone child already created with an "_end" suffix (if it was exported with that setting enabled) https://blender.stackexchange.com/questions/109972/fbx-export-bone-end1 parent b4ba1ee commit 5052781
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
156 | 162 | | |
157 | 163 | | |
158 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
156 | 162 | | |
157 | 163 | | |
158 | 164 | | |
| |||
0 commit comments