diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-07-12 13:41:14 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-07-12 13:41:14 +0300 |
commit | 2f6c86c461c9974db22a775a4ab4db6deb9fc061 (patch) | |
tree | 202b1320a0ba20a6453fbc6eb90c37a905cb8f87 /io_scene_fbx | |
parent | db79c2aa5eed872e44f8462cfbc793011b4a8162 (diff) |
FBX IO: Atempt to fix camera/lamp orientations issues.
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/__init__.py | 2 | ||||
-rw-r--r-- | io_scene_fbx/fbx_utils.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py index 184e6673..0259bbd3 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 651cac7c..4df68772 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() |