diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2018-08-29 10:29:59 +0300 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2018-08-29 10:29:59 +0300 |
commit | c788dabab42251e6e959a4cea04224bece1655a5 (patch) | |
tree | 39d15fb5eeea067a61ff298e5c325d915705e817 /io_coat3D/tex.py | |
parent | b5a35bbd39af54dee33fc5ea039e49e6e9f450a8 (diff) |
Small transform bug and remove prints. Conserning addon this very stable at the moment.
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r-- | io_coat3D/tex.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py index 59e41a61..b6ea441e 100644 --- a/io_coat3D/tex.py +++ b/io_coat3D/tex.py @@ -46,8 +46,6 @@ def readtexturefolder(objekti,is_new): #read textures from texture file files = os.listdir(files_dir) materiaali_muutos = objekti.active_material.name uusin_mat = materiaali_muutos.replace('Material.','Material_') - print('tassa pitaisi olla jotain outoo') - print(obj_coat.applink_name + '_' + uusin_mat) new_name = (obj_coat.applink_name + '_' + uusin_mat) name_boxs = new_name.split('.') if len(name_boxs) > 1: @@ -58,7 +56,6 @@ def readtexturefolder(objekti,is_new): #read textures from texture file koko_osoite = files_dir + os.sep + i listed = re.split(r'[_.]', i) tex_name = listed[-2] - print('koko osoite', koko_osoite) texcoat[tex_name].append(koko_osoite) createnodes(objekti, texcoat) @@ -85,7 +82,6 @@ def createnodes(objekti,texcoat): #luo nodes palikat ja linkittaa tekstuurit nii for node in act_material.node_tree.nodes: if(node.type == 'TEX_IMAGE'): - print('hhheeetkinen') if(node.name == '3DC_color'): bring_color = False node.image.reload() |