diff options
Diffstat (limited to 'source/blender/io/collada/BCSampleData.cpp')
-rw-r--r-- | source/blender/io/collada/BCSampleData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/collada/BCSampleData.cpp b/source/blender/io/collada/BCSampleData.cpp index 42b436ec6fb..422ecdc598f 100644 --- a/source/blender/io/collada/BCSampleData.cpp +++ b/source/blender/io/collada/BCSampleData.cpp @@ -51,7 +51,7 @@ bool BCSample::get_value(std::string channel_target, const int array_index, floa else if (channel_type == "scale") { *val = matrix->scale()[array_index]; } - else if (channel_type == "rotation" || channel_type == "rotation_euler") { + else if (ELEM(channel_type, "rotation", "rotation_euler")) { *val = matrix->rotation()[array_index]; } else if (channel_type == "rotation_quaternion") { |