[Bf-extensions-cvs] [3fe64c00] master: io_coat3D: fixes if udims had more than one y layer bug

Samuli Riihikoski noreply at git.blender.org
Sat Sep 19 08:01:49 CEST 2020


Commit: 3fe64c0015a92d2feac1aa9712bb111a3344b5b2
Author: Samuli Riihikoski
Date:   Sat Sep 19 09:01:12 2020 +0300
Branches: master
https://developer.blender.org/rBA3fe64c0015a92d2feac1aa9712bb111a3344b5b2

io_coat3D: fixes if udims had more than one y layer bug

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

M	io_coat3D/tex.py

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

diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index e589ea1c..4ae14913 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -706,7 +706,7 @@ def matlab(objekti,mat_list,texturelist,is_new):
         udim_count = 0
         udim_indexs = []
 
-        if texturelist[0][0].startswith('100') and  len(texturelist[0][0]) == 4:
+        if texturelist[0][0].startswith('10') and  len(texturelist[0][0]) == 4:
             udim_textures = True
         
             udim_target = ''



More information about the Bf-extensions-cvs mailing list