Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>2011-08-13 20:22:14 +0400
committerSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>2011-08-13 20:22:14 +0400
commitc86bcd50658f03215d93fe059d11b61401847b79 (patch)
tree16e609542fe1f516084fc8ac922a43aaae61311c /source/blender/collada/AnimationImporter.cpp
parenta4b6cfd87229a3d838544f9474e257ab4aecd371 (diff)
transform matrix animation import fix.
Diffstat (limited to 'source/blender/collada/AnimationImporter.cpp')
-rw-r--r--source/blender/collada/AnimationImporter.cpp6
1 files changed, 3 insertions, 3 deletions
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
{