Skip to content

Commit

Permalink
io_coat3D: fix texture_list bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuliRiihikoski committed Nov 21, 2020
1 parent 3ff3487 commit 860f646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io_coat3D/tex.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def readtexturefolder(objekti, mat_list, texturelist, is_new, udim_textures, udi

else:
for texture_info in texturelist:
if (os.path.isfile(texture_list[3])):
if (os.path.isfile(texture_info[3])):
if texture_info[2] == 'color' or texture_info[2] == 'diffuse':
if texcoat['color'] == [] and texture_info[1] == '1001':
texcoat['color'].append(texture_info[3])
Expand Down

0 comments on commit 860f646

Please sign in to comment.