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

fix for fbx import with UV layers that have empty names

parent d405965c
No related branches found
No related tags found
No related merge requests found
......@@ -467,7 +467,7 @@ def blen_read_geom_layer_uv(fbx_obj, mesh):
fbx_layer_index = elem_prop_first(elem_find_first(fbx_layer, b'UVIndex'))
uv_tex = mesh.uv_textures.new(name=fbx_layer_name)
uv_lay = mesh.uv_layers[fbx_layer_name]
uv_lay = mesh.uv_layers[-1]
blen_data = uv_lay.data[:]
blen_read_geom_array_mapped_polyloop(
......
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