Skip to content
Snippets Groups Projects
Commit 779e9de4 authored by Campbell Barton's avatar Campbell Barton
Browse files

Fix for error in r4790 index data isn't always required

parent 41f298fe
No related branches found
No related tags found
No related merge requests found
......@@ -499,7 +499,7 @@ def blen_read_geom_layer_uv(fbx_obj, mesh):
blen_data = uv_lay.data[:]
# some valid files omit this data
if fbx_layer_data is None or fbx_layer_index is None:
if fbx_layer_data is None:
print("%r %r missing data" % (layer_id, fbx_layer_name))
continue
......@@ -528,7 +528,7 @@ def blen_read_geom_layer_color(fbx_obj, mesh):
blen_data = color_lay.data[:]
# some valid files omit this data
if fbx_layer_data is None or fbx_layer_index is None:
if fbx_layer_data is None:
print("%r %r missing data" % (layer_id, fbx_layer_name))
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment