diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-03-17 16:16:19 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-03-17 16:16:19 +0300 |
commit | 64fbd50e4cc23dfb6f8ab5014e1e924136522079 (patch) | |
tree | e729a1bf5cd22e7cff787125206371f2ff4de958 /source/blender/collada/AnimationExporter.cpp | |
parent | 5389964eea27c4d0129171ee69129210ee522bc3 (diff) |
Refactor: Collada: remove param, changed order of params in Function call
* In the Collada Module parameters are typically ordered
in a similar way. I changed this to:
extern std::string get_joint_id(Object *ob, Bone *bone);
* The Object parameter was not used in get_joint_sid().
I changed this to:
extern std::string get_joint_sid(Bone *bone);
Diffstat (limited to 'source/blender/collada/AnimationExporter.cpp')
-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 5492fcbb625..a59665f897f 100644 --- a/source/blender/collada/AnimationExporter.cpp +++ b/source/blender/collada/AnimationExporter.cpp @@ -771,7 +771,7 @@ void AnimationExporter::dae_baked_animation(std::vector<float> &fra, Object *ob_ addSampler(sampler); - std::string target = get_joint_id(bone, ob_arm) + "/transform"; + std::string target = get_joint_id(ob_arm, bone) + "/transform"; addChannel(COLLADABU::URI(empty, sampler_id), target); closeAnimation(); |