diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2017-07-17 17:39:33 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2017-07-17 17:39:47 +0300 |
commit | 9feeb14e916be5216f06e14e14f3a6f9309286e8 (patch) | |
tree | a0bde5d045b4321c32242f62c5945a3a4e03ef9d | |
parent | 06505c5264539a255620c9c8898c5a879555b10e (diff) |
fix T52065: Joint ID was generated wrong for bone animation exports
-rw-r--r-- | source/blender/collada/AnimationExporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |