Merge branch 'master' into blender2.8
[blender.git] / source / blender / collada / AnimationExporter.cpp
index 707aaea0b65fbf347a667b919c74c93bd748ec55..881662bd0b89ee405a719a8d7ad226945e0cbf3d 100644 (file)
@@ -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();