Commit: 9feeb14e916be5216f06e14e14f3a6f9309286e8
Author: Gaia Clary
Date:   Mon Jul 17 16:39:33 2017 +0200
Branches: master
https://developer.blender.org/rB9feeb14e916be5216f06e14e14f3a6f9309286e8

fix T52065: Joint ID was generated wrong for bone animation exports

===================================================================

M       source/blender/collada/AnimationExporter.cpp

===================================================================

diff --git a/source/blender/collada/AnimationExporter.cpp 
b/source/blender/collada/AnimationExporter.cpp
index 3bff20e846b..b3d512204be 100644
--- a/source/blender/collada/AnimationExporter.cpp
+++ b/source/blender/collada/AnimationExporter.cpp
@@ -530,7 +530,7 @@ void 
AnimationExporter::dae_baked_animation(std::vector<float> &fra, Object *ob_
 
        addSampler(sampler);
 
-       std::string target = translate_id(bone_name) + "/transform";
+       std::string target = get_joint_id(bone, ob_arm) + "/transform";
        addChannel(COLLADABU::URI(empty, sampler_id), target);
 
        closeAnimation();

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to