From 8da39736e2f4f11d44a84f30c07f008a8ec5316e Mon Sep 17 00:00:00 2001 From: "Jens Ch. Restemeier" <jens.restemeier@gmail.com> Date: Sat, 9 Aug 2014 21:49:41 +0200 Subject: [PATCH] FBX IO: Fix wrong orientation of lamps (were rotated 180deg). --- io_scene_fbx/fbx_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py index 7c6b0641e..e37c938d1 100644 --- a/io_scene_fbx/fbx_utils.py +++ b/io_scene_fbx/fbx_utils.py @@ -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. -- GitLab