diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-10-05 17:34:56 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-10-05 17:35:43 +0300 |
commit | 8f8fcfaad1f1306c1fb422ddef752e3cae2fea29 (patch) | |
tree | 8545f8fcbeedba85e8160f12964873160e4548b0 | |
parent | 4632c73bbfd51bd5124ce8b1b51cd2500cbb6de6 (diff) |
Fix (unreported) broken FBX import after adding forth alpha component to vcol.
-rw-r--r-- | io_scene_fbx/__init__.py | 4 | ||||
-rw-r--r-- | io_scene_fbx/import_fbx.py | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py index 4133e606..e243b877 100644 --- a/io_scene_fbx/__init__.py +++ b/io_scene_fbx/__init__.py @@ -21,8 +21,8 @@ bl_info = { "name": "FBX format", "author": "Campbell Barton, Bastien Montagne, Jens Restemeier", - "version": (3, 7, 13), - "blender": (2, 77, 0), + "version": (3, 7, 14), + "blender": (2, 79, 1), "location": "File > Import-Export", "description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions", "warning": "", diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py index 77540eea..ecbbb898 100644 --- a/io_scene_fbx/import_fbx.py +++ b/io_scene_fbx/import_fbx.py @@ -1000,12 +1000,11 @@ def blen_read_geom_layer_color(fbx_obj, mesh): print("%r %r missing data" % (layer_id, fbx_layer_name)) continue - # ignore alpha layer (read 4 items into 3) blen_read_geom_array_mapped_polyloop( mesh, blen_data, "color", fbx_layer_data, fbx_layer_index, fbx_layer_mapping, fbx_layer_ref, - 4, 3, layer_id, + 4, 4, layer_id, ) |