diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2019-03-01 12:53:33 +0300 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2019-03-01 12:53:33 +0300 |
commit | 7f0648db4df1b973089ccfee7815c36d9ab19d7c (patch) | |
tree | caee9add3702865bb7ac1a7b5e2291764d2ba48f /io_coat3D/tex.py | |
parent | 638b91b13e3d52b053892fc759c25b6700bbbbc8 (diff) |
remove unwanted prints
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r-- | io_coat3D/tex.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py index 1c3f0eea..6975bec6 100644 --- a/io_coat3D/tex.py +++ b/io_coat3D/tex.py @@ -60,7 +60,7 @@ def UVTiling(objekti, texturelist): uvtiles_index.append([poly.material_index, objekti.data.uv_layers.active.data[loop_index].uv[0]]) if (len(final_material_indexs) == len(objekti.material_slots)): break - print(final_material_indexs) + for texture_info in texturelist: name = texture_info[0] @@ -71,7 +71,7 @@ def UVTiling(objekti, texturelist): texture_info[0] = objekti.material_slots[list_tiles[0]].material.name - print('uvtiles_index', uvtiles_index) + return texturelist @@ -400,8 +400,7 @@ def createExtraNodes(act_material, node, type): curvenode.name = '3DC_RGBCurve' huenode = act_material.nodes.new('ShaderNodeHueSaturation') huenode.name = '3DC_HueSaturation' - print('tieto:', type) - print('ttoto: ', type['rampnode']) + if(type['rampnode'] == 'yes'): rampnode = act_material.nodes.new('ShaderNodeValToRGB') rampnode.name = '3DC_ColorRamp' |