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).
This commit is contained in:
Bastien Montagne 2015-11-20 21:51:10 +01:00
parent 8e88b29ff9
commit daf500661e
Notes: blender-bot 2023-02-14 19:52:06 +01:00
Referenced by issue #46581, Import FBX: Blender 2,.76 version breaks mesh rotation on FBX import (from Makehuman)
1 changed files with 1 additions and 1 deletions

View File

@ -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