[Bf-blender-cvs] [5f9657316e4] master: collada: fix typo in if statement

Gaia Clary noreply at git.blender.org
Mon Feb 26 12:56:43 CET 2018


Commit: 5f9657316e4e53594643cf1bb128135a593bcae5
Author: Gaia Clary
Date:   Mon Feb 26 12:55:54 2018 +0100
Branches: master
https://developer.blender.org/rB5f9657316e4e53594643cf1bb128135a593bcae5

collada: fix typo in if statement

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

M	source/blender/collada/AnimationExporter.cpp

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

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;



More information about the Bf-blender-cvs mailing list