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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-12-19 14:12:35 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2014-12-19 14:12:35 +0300
commit6bc837db2cc73323311f234b2ff2bbc1fc7063ec (patch)
treee8487908fec8dcc684fde6cfb2245c7276493435 /io_scene_fbx/fbx_utils.py
parent7121beb02ea45674045b668d0bdfade89781225c (diff)
FBX export: Fix stupid own error regarding matrix_parent_inverse...
Diffstat (limited to 'io_scene_fbx/fbx_utils.py')
-rw-r--r--io_scene_fbx/fbx_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py
index 08a33287..22ff4be0 100644
--- a/io_scene_fbx/fbx_utils.py
+++ b/io_scene_fbx/fbx_utils.py
@@ -995,7 +995,8 @@ class ObjectWrapper(metaclass=MetaObjectWrapper):
if self._tag in {'DP', 'OB'} and parent:
# To get *real* local matrix of a child object, we also need to take into account its inverted par mat!
- matrix = self.bdata.matrix_parent_inverse * matrix
+ # In fact, this is wrong - since we do not store that matrix in FBX at all, we shall not use it here...
+ #~ matrix = self.bdata.matrix_parent_inverse * matrix
if parent._tag == 'BO':
# In bone parent case, we get transformation in **bone tip** space (sigh).
# Have to bring it back into bone root, which is FBX expected value.