diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-15 07:42:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-15 07:42:59 +0300 |
commit | f63d9de38b7e85ae5f0c93d419b10e7789b6bd3a (patch) | |
tree | 5a22bb3f1d3295b571cb6a11a33030164e73ae3e /io_scene_x | |
parent | 524140ae5c9f4b0c51d4dd381be30112f3a41104 (diff) |
DirectX format, use matrix_basis for the original rotation
Diffstat (limited to 'io_scene_x')
-rw-r--r-- | io_scene_x/export_x.py | 2 |
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: |