Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle-Samuli Riihikoski <haikalle@gmail.com>2020-11-22 02:41:26 +0300
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2020-11-22 02:41:26 +0300
commit860f646176dce129e4ab78676626e4b453505355 (patch)
tree1c9ef39a125189fd67230f0c3b2ea5c2c1c8ab72 /io_coat3D
parent3ff3487ac237f4284436275bc27babb47ffe6506 (diff)
io_coat3D: fix texture_list bug
Diffstat (limited to 'io_coat3D')
-rw-r--r--io_coat3D/tex.py2
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])