transform matrix animation import fix.
authorSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>
Sat, 13 Aug 2011 16:22:14 +0000 (16:22 +0000)
committerSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>
Sat, 13 Aug 2011 16:22:14 +0000 (16:22 +0000)
source/blender/collada/AnimationImporter.cpp

index b0e636c2aa630d39539868efdd762cc71fdd0794..d8e6ae24b3bae7e152038b520c0fbf0a41dc0a88 100644 (file)
@@ -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 
                                {