[Bf-extensions-cvs] [daf5006] master: Fix T46581: Import FBX: Blender 2, .76 version breaks mesh rotation on FBX import (from Makehuman)
Bastien Montagne
noreply at git.blender.org
Fri Nov 20 21:53:55 CET 2015
Commit: daf500661e0f886f1efc5f6e7f20a28ef6787234
Author: Bastien Montagne
Date: Fri Nov 20 21:51:10 2015 +0100
Branches: master
https://developer.blender.org/rBAdaf500661e0f886f1efc5f6e7f20a28ef6787234
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).
===================================================================
M io_scene_fbx/import_fbx.py
===================================================================
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index 3728a82..128dab1 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
More information about the Bf-extensions-cvs
mailing list