diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-12-19 14:12:35 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-12-19 14:12:35 +0300 |
commit | 6bc837db2cc73323311f234b2ff2bbc1fc7063ec (patch) | |
tree | e8487908fec8dcc684fde6cfb2245c7276493435 /io_scene_fbx/fbx_utils.py | |
parent | 7121beb02ea45674045b668d0bdfade89781225c (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.py | 3 |
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. |