Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaia Clary <gaia.clary@machinimatrix.org>2018-02-26 14:55:54 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2018-02-26 14:55:54 +0300
commit5f9657316e4e53594643cf1bb128135a593bcae5 (patch)
tree98a3d1f63c43b06a0e54840a80edd2f75ccc69d6 /source/blender/collada/AnimationExporter.cpp
parent57b378b046cf660b28d5095f9df9d1a913ebabc0 (diff)
collada: fix typo in if statement
Diffstat (limited to 'source/blender/collada/AnimationExporter.cpp')
-rw-r--r--source/blender/collada/AnimationExporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/AnimationExporter.cpp b/source/blender/collada/AnimationExporter.cpp
index 759fb1546c7..cf689a4a3eb 100644
--- a/source/blender/collada/AnimationExporter.cpp
+++ b/source/blender/collada/AnimationExporter.cpp
@@ -97,7 +97,7 @@ void AnimationExporter::create_sampled_animation(int channel_count,
std::string output_id;
if (channel_count == 1)
output_id = create_source_from_array(COLLADASW::InputSemantic::OUTPUT, &values[0], values.size(), is_rot, anim_id, axis_name.c_str());
- else if(channel_count = 3)
+ else if(channel_count == 3)
output_id = create_xyz_source(&values[0], times.size(), anim_id);
std::string sampler_id = std::string(anim_id) + SAMPLER_ID_SUFFIX;