io_coat3D: fix udim bug
This commit is contained in:
parent
3ee576bc2d
commit
d97d22c074
|
@ -527,7 +527,6 @@ def CreateTextureLine(type, act_material, main_mat, texcoat, coat3D, notegroup,
|
|||
for udim_index in udim_len:
|
||||
if (udim_index != 1001):
|
||||
node.image.tiles.new(udim_index)
|
||||
print('AA')
|
||||
|
||||
node.image.reload()
|
||||
|
||||
|
@ -543,10 +542,6 @@ def CreateTextureLine(type, act_material, main_mat, texcoat, coat3D, notegroup,
|
|||
for udim_index in udim_len:
|
||||
if (udim_index != 1001):
|
||||
node.image.tiles.new(udim_index)
|
||||
print('image:', node.image)
|
||||
print('BB')
|
||||
|
||||
|
||||
|
||||
|
||||
if node.image and type['colorspace'] == 'noncolor':
|
||||
|
@ -721,7 +716,6 @@ def matlab(objekti,mat_list,texturelist,is_new):
|
|||
udim_indexs.append(int(texture[0]))
|
||||
|
||||
udim_indexs.sort()
|
||||
print('udim_indexa:', udim_indexs)
|
||||
|
||||
if(udim_textures == False):
|
||||
readtexturefolder(objekti,mat_list,texturelist,is_new, udim_textures, udim_indexs)
|
||||
|
|
Loading…
Reference in New Issue