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:
authorKalle-Samuli Riihikoski <haikalle@gmail.com>2019-03-01 16:49:11 +0300
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2019-03-01 16:49:39 +0300
commit57ec6828de00ca17a7aa581420929fe85fb0f170 (patch)
treed773281343e9b3d2c0f170343a9a66da2c4e156e /io_coat3D/tex.py
parent032366f9e7bae4c1db2108037f1f5c246937b5fb (diff)
remove again those unwanted prints, sorry about this
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r--io_coat3D/tex.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index 99fdc599..cb0d2ec8 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -60,7 +60,6 @@ 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,18 +70,16 @@ def UVTiling(objekti, texturelist):
texture_info[0] = objekti.material_slots[list_tiles[0]].material.name
- print('uvtiles_index', uvtiles_index)
+
return texturelist
def readtexturefolder(objekti, mat_list, texturelist, is_new): #read textures from texture file
create_nodes = False
- print('texturelist:', texturelist)
if texturelist[0][0].startswith('100'):
print('This is UVTiling')
texturelist = UVTiling(objekti, texturelist)
- print('texturelist:', texturelist)
for index_mat in objekti.material_slots:
@@ -302,6 +299,7 @@ def CreateTextureLine(type, act_material, main_mat, texcoat, coat3D, notegroup,
disp_node = main_material.nodes.new('ShaderNodeDisplacement')
node.location = -630, -1160
disp_node.location = 90, -460
+ disp_node.inputs[2].default_value = 0.1
disp_node.name = '3DC_dispnode'
node.name = '3DC_' + type['name']
@@ -372,8 +370,6 @@ 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'