diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py index 184e6673fc89ff7c687b29e00a1421c15bf3574a..0259bbd3fa0bb1eb2fa14e5990fa915079eb7f3c 100644 --- a/io_scene_fbx/__init__.py +++ b/io_scene_fbx/__init__.py @@ -21,7 +21,7 @@ bl_info = { "name": "FBX format", "author": "Campbell Barton, Bastien Montagne, Jens Restemeier", - "version": (3, 4, 5), + "version": (3, 4, 6), "blender": (2, 74, 0), "location": "File > Import-Export", "description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions", diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py index 651cac7cb296264ab703fa8a50f494c80fa8303e..4df687729f1bceefe9bf670d23f0e9531133d13b 100644 --- a/io_scene_fbx/fbx_utils.py +++ b/io_scene_fbx/fbx_utils.py @@ -71,8 +71,8 @@ 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_CAMERA = Matrix.Rotation(math.pi / -2.0, 4, 'Y') # Blender is -Z, FBX is -X. +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. MAT_CONVERT_BONE = Matrix()