From 5f9657316e4e53594643cf1bb128135a593bcae5 Mon Sep 17 00:00:00 2001 From: Gaia Clary Date: Mon, 26 Feb 2018 12:55:54 +0100 Subject: collada: fix typo in if statement --- source/blender/collada/AnimationExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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; -- cgit v1.2.3