summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/src/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/world/src/main.rs b/world/src/main.rs
index 66c2a91..9222b3e 100644
--- a/world/src/main.rs
+++ b/world/src/main.rs
@@ -414,11 +414,14 @@ fn main() -> Result<()> {
};
let anim_node_index = n.index();
if let Some(scene_arm_index) = joint_name_to_arm_index.get(&vrm_name) {
+ debug!(
+ "mapping {name:?} (node={}) -> {vrm_name:?} (bone={})",
+ anim_node_index, scene_arm_index
+ );
anim_joint_index_to_arm_index.insert(anim_node_index, *scene_arm_index);
}
}
}
-
for a in gltf.animations() {
prefab.animation.push(import_animation(
a,