Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

Small clarification on why flat hierarchy might exist

Scott Petrovic6d95a2d4c932
diff --git a/src/retarget/TargetBoneTreeDialog.ts b/src/retarget/TargetBoneTreeDialog.ts
index 3e866b7..2253d83 100644
--- a/src/retarget/TargetBoneTreeDialog.ts
+++ b/src/retarget/TargetBoneTreeDialog.ts
@@ -45,7 +45,7 @@ export class TargetBoneTreeDialog {
const is_flat_hierarchy = target_bones.size > 1 && root_target_bones.length === target_bones.size
const flat_hierarchy_warning_html = is_flat_hierarchy
? `<div class="bone-tree-dialog-warning">
- ⚠️ Flat hierarchy detected: all bones appear as root bones with no parent-child relationships.
+ ⚠️ Flat hierarchy detected: This could be because there are multiple skinned meshes (which aren't supported). all bones appear as root bones with no parent-child relationships.
This may indicate the skeleton was exported without hierarchy data (e.g. some FBX exports).
Retargeting will not work.
</div>`