diff options
author | metamuffin <metamuffin@disroot.org> | 2025-02-23 23:44:40 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-02-23 23:44:40 +0100 |
commit | 46cc85069670e90749c8f64d184539bb3fde6373 (patch) | |
tree | ce130fa774b807cfafcde5d18b620c7b2cc79242 | |
parent | 65a87b276d8ec1e8eb15ba1d86ec25c3968a5972 (diff) | |
download | weareserver-46cc85069670e90749c8f64d184539bb3fde6373.tar weareserver-46cc85069670e90749c8f64d184539bb3fde6373.tar.bz2 weareserver-46cc85069670e90749c8f64d184539bb3fde6373.tar.zst |
debug bone mapping
-rw-r--r-- | world/src/main.rs | 5 |
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, |