collada: fix typo in if statement
authorGaia Clary <gaia.clary@machinimatrix.org>
Mon, 26 Feb 2018 11:55:54 +0000 (12:55 +0100)
committerGaia Clary <gaia.clary@machinimatrix.org>
Mon, 26 Feb 2018 11:55:54 +0000 (12:55 +0100)
source/blender/collada/AnimationExporter.cpp

index 759fb1546c7da2ddba544f6f822a5a60ea250051..cf689a4a3eb6a35318d86d5f4b6c0b983a80de95 100644 (file)
@@ -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;