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>2015-11-20 23:51:10 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-11-20 23:51:10 +0300
commitdaf500661e0f886f1efc5f6e7f20a28ef6787234 (patch)
treef76a6340864658ac44ed3ae41190f8d2697d772d
parent8e88b29ff93b1cab5c8fa1822297d60b23b81dae (diff)
Fix T46581: Import FBX: Blender 2,.76 version breaks mesh rotation on FBX import (from Makehuman)
Regression from rBAd7fa659c6f9d4922, looks like here we do not want pre/post corrections... Man, those matrices transform are a complete nightmare, guess this only breaks for maya-like FBX (iirc 3dsmax-like ones do not use those pre/post transform stuff).
-rw-r--r--io_scene_fbx/import_fbx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index 3728a822..128dab1a 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -2137,7 +2137,7 @@ class FbxImportHelperNode:
# Probably because org app (max) handles it completely aside from any parenting stuff,
# which we obviously cannot do in Blender. :/
if amat is None:
- amat = self.get_bind_matrix()
+ amat = self.bind_matrix
amat = settings.global_matrix * (Matrix() if amat is None else amat)
if self.matrix_geom:
amat = amat * self.matrix_geom