Skip to content
Snippets Groups Projects
Commit 8da39736 authored by Jens Ch. Restemeier's avatar Jens Ch. Restemeier Committed by Bastien Montagne
Browse files

FBX IO: Fix wrong orientation of lamps (were rotated 180deg).

parent c9cde561
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ FBX_ANIM_PROPSGROUP_NAME = "d"
FBX_KTIME = 46186158000 # This is the number of "ktimes" in one second (yep, precision over the nanosecond...)
MAT_CONVERT_LAMP = Matrix.Rotation(math.pi / 2.0, 4, 'X') # Blender is -Z, FBX is -Y.
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.
# XXX I can't get this working :(
# MAT_CONVERT_BONE = Matrix.Rotation(math.pi / 2.0, 4, 'Z') # Blender is +Y, FBX is -X.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment