[Bf-extensions-cvs] [860f6461] master: io_coat3D: fix texture_list bug

Kalle-Samuli Riihikoski noreply at git.blender.org
Sun Nov 22 00:41:29 CET 2020


Commit: 860f646176dce129e4ab78676626e4b453505355
Author: Kalle-Samuli Riihikoski
Date:   Sun Nov 22 01:41:26 2020 +0200
Branches: master
https://developer.blender.org/rBA860f646176dce129e4ab78676626e4b453505355

io_coat3D: fix texture_list bug

===================================================================

M	io_coat3D/tex.py

===================================================================

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])



More information about the Bf-extensions-cvs mailing list