diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-02-01 12:39:07 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-02-01 12:41:56 +0300 |
commit | 1a0b479eda66cd8971a2625bb4197950f03828c4 (patch) | |
tree | 1a97d6f0ea062e5d9f4c610d79b8c8e86329b738 /io_scene_fbx | |
parent | 45532d6b7d6e3055a11ad0909bb6ef0a21546cb5 (diff) |
Fix T50566: FBX import fails to read file exported from Modo
Fbx, fbx, fbx... The Fuzzy Format :(
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/__init__.py | 2 | ||||
-rw-r--r-- | io_scene_fbx/import_fbx.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py index e1872596..9fe15b83 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, 7, 8), + "version": (3, 7, 9), "blender": (2, 77, 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/import_fbx.py b/io_scene_fbx/import_fbx.py index 46cef68a..87e1973f 100644 --- a/io_scene_fbx/import_fbx.py +++ b/io_scene_fbx/import_fbx.py @@ -1281,7 +1281,7 @@ def blen_read_material(fbx_tmpl, fbx_obj, settings): fbx_props = (elem_find_first(fbx_obj, b'Properties70'), elem_find_first(fbx_tmpl, b'Properties70', fbx_elem_nil)) - assert(fbx_props[0] is not None) + #~ assert(fbx_props[0] is not None) # Some Material may be missing that one, it seems... see T50566. ma_diff = elem_props_get_color_rgb(fbx_props, b'DiffuseColor', const_color_white) ma_spec = elem_props_get_color_rgb(fbx_props, b'SpecularColor', const_color_white) |