diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2020-11-22 02:41:26 +0300 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2020-11-22 02:41:26 +0300 |
commit | 860f646176dce129e4ab78676626e4b453505355 (patch) | |
tree | 1c9ef39a125189fd67230f0c3b2ea5c2c1c8ab72 | |
parent | 3ff3487ac237f4284436275bc27babb47ffe6506 (diff) |
io_coat3D: fix texture_list bug
-rw-r--r-- | io_coat3D/tex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py index 33634409..c46275be 100644 --- a/io_coat3D/tex.py +++ b/io_coat3D/tex.py @@ -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]) |