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:
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r--io_coat3D/tex.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index eaf9c69d..ed689e84 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -280,35 +280,36 @@ def createnodes(active_mat,texcoat, create_group_node, objekti, ind, is_new, udi
act_material = node.node_tree
applink_tree = node
break
-
+
+
for node in act_material.nodes:
if (node.type != 'GROUP'):
if (node.type != 'GROUP_OUTPUT'):
if (node.type == 'TEX_IMAGE'):
if (node.name == '3DC_color'):
bring_color = False
- updateimage.update(texcoat, 'color', node)
+ updateimage.update(texcoat, 'color', node, udim_textures, udim_len)
elif (node.name == '3DC_metalness'):
bring_metalness = False
- updateimage.update(texcoat, 'metalness', node)
+ updateimage.update(texcoat, 'metalness', node, udim_textures, udim_len)
elif (node.name == '3DC_rough'):
bring_roughness = False
- updateimage.update(texcoat, 'rough', node)
+ updateimage.update(texcoat, 'rough', node, udim_textures, udim_len)
elif (node.name == '3DC_nmap'):
bring_normal = False
- updateimage.update(texcoat, 'nmap', node)
+ updateimage.update(texcoat, 'nmap', node, udim_textures, udim_len)
elif (node.name == '3DC_displacement'):
bring_displacement = False
- updateimage.update(texcoat, 'displacement', node)
+ updateimage.update(texcoat, 'displacement', node, udim_textures, udim_len)
elif (node.name == '3DC_emissive'):
bring_emissive = False
- updateimage.update(texcoat, 'emissive', node)
+ updateimage.update(texcoat, 'emissive', node, udim_textures, udim_len)
elif (node.name == '3DC_AO'):
bring_AO = False
- updateimage.update(texcoat, 'ao', node)
+ updateimage.update(texcoat, 'ao', node, udim_textures, udim_len)
elif (node.name == '3DC_alpha'):
bring_alpha = False
- updateimage.update(texcoat, 'alpha', node)
+ updateimage.update(texcoat, 'alpha', node, udim_textures, udim_len)
elif (node.type == 'GROUP' and node.name.startswith('3DC_')):