From c86bcd50658f03215d93fe059d11b61401847b79 Mon Sep 17 00:00:00 2001 From: Sukhitha Prabhath Jayathilake Date: Sat, 13 Aug 2011 16:22:14 +0000 Subject: transform matrix animation import fix. --- source/blender/collada/AnimationImporter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/collada/AnimationImporter.cpp') diff --git a/source/blender/collada/AnimationImporter.cpp b/source/blender/collada/AnimationImporter.cpp index b0e636c2aa6..d8e6ae24b3b 100644 --- a/source/blender/collada/AnimationImporter.cpp +++ b/source/blender/collada/AnimationImporter.cpp @@ -976,11 +976,11 @@ void AnimationImporter::translate_Animations_NEW ( COLLADAFW::Node * node , } } } - if (is_rotation || is_matrix) { + if (is_rotation) { if (is_joint) { - /*bPoseChannel *chan = get_pose_channel(ob->pose, bone_name); - chan->rotmode = ROT_MODE_Quat;*/ + bPoseChannel *chan = get_pose_channel(ob->pose, bone_name); + chan->rotmode = ROT_MODE_EUL; } else { -- cgit v1.2.3