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>2011-05-27 18:30:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-27 18:30:45 +0400
commitf7df475c0ba9c3c6b63461e0fbf68e9fa0cbf4ef (patch)
tree296eaf96049bc5bff2b17689bc4e27712f10e78c /io_scene_fbx
parent6c3f6c1ae54810061b26efe59b1d2f67205a02ab (diff)
own failt, bad assumption r1967, when switching the order of matrix multiplication.
Diffstat (limited to 'io_scene_fbx')
-rw-r--r--io_scene_fbx/export_fbx.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py
index fa0b5bfd..f4170072 100644
--- a/io_scene_fbx/export_fbx.py
+++ b/io_scene_fbx/export_fbx.py
@@ -362,8 +362,7 @@ def save_single(operator, scene, filepath="",
def setPoseFrame(self, f, fake=False):
if fake:
- # annoying, have to clear global_matrix
- self.__anim_poselist[f] = global_matrix * self.matrixWorld
+ self.__anim_poselist[f] = self.matrixWorld * global_matrix.inverted()
else:
self.__anim_poselist[f] = self.blenObject.matrix_world.copy()