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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-04-15 07:42:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-15 07:42:59 +0300
commitf63d9de38b7e85ae5f0c93d419b10e7789b6bd3a (patch)
tree5a22bb3f1d3295b571cb6a11a33030164e73ae3e
parent524140ae5c9f4b0c51d4dd381be30112f3a41104 (diff)
DirectX format, use matrix_basis for the original rotation
-rw-r--r--io_scene_x/export_x.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_x/export_x.py b/io_scene_x/export_x.py
index fb17106e..8c675388 100644
--- a/io_scene_x/export_x.py
+++ b/io_scene_x/export_x.py
@@ -1146,7 +1146,7 @@ class ArmatureAnimationGenerator(GenericAnimationGenerator):
Rotation = ArmatureObject.data.bones[Bone.name] \
.matrix.to_quaternion() * \
- Bone.rotation_quaternion
+ Bone.matrix_basis.to_quaternion()
PoseMatrix = Matrix()
if Bone.parent: