FBX IO: Fix camera's correction matrix (based on file from T40729).
This commit is contained in:
parent
905f58dedb
commit
944016ab78
Notes:
blender-bot
2023-02-14 20:06:25 +01:00
Referenced by issue #40729, FBX branch animation import bugs
|
@ -71,7 +71,7 @@ FBX_KTIME = 46186158000 # This is the number of "ktimes" in one second (yep, pr
|
|||
|
||||
|
||||
MAT_CONVERT_LAMP = Matrix.Rotation(math.pi / 2.0, 4, 'X') # Blender is -Z, FBX is -Y.
|
||||
MAT_CONVERT_CAMERA = Matrix.Rotation(math.pi / 2.0, 4, 'Y') # Blender is -Z, FBX is +X.
|
||||
MAT_CONVERT_CAMERA = Matrix.Rotation(math.pi / -2.0, 4, 'Y') # Blender is -Z, FBX is -X.
|
||||
# XXX I can't get this working :(
|
||||
#MAT_CONVERT_BONE = Matrix.Rotation(math.pi / 2.0, 4, 'Z') # Blender is +Y, FBX is -X.
|
||||
MAT_CONVERT_BONE = Matrix()
|
||||
|
|
Loading…
Reference in New Issue