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>2018-09-04 17:56:24 +0300
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2018-09-04 17:56:24 +0300
commit21b1cc0648b53f74496af37de6ecaa9ba0f1c914 (patch)
tree3753df0adbf251f8a5ff075a4f3122191e5fc992 /io_coat3D/tex.py
parent1b7262b63ace3f61476d65ec6dcec75035a6d935 (diff)
Fixing vertex groups bug. Also node locate update.
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r--io_coat3D/tex.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index b6ea441e..733d8471 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -114,7 +114,7 @@ def createnodes(objekti,texcoat): #luo nodes palikat ja linkittaa tekstuurit nii
#Metalness
if(bring_metalness == True and glue_mat.inputs.find('Metallic') != -1 and texcoat['metalness'] != []):
node = act_material.node_tree.nodes.new('ShaderNodeTexImage')
- node.location = -600,200
+ node.location = -830,160
node.name='3DC_metalness'
if(texcoat['metalness']):
node.image = bpy.data.images.load(texcoat['metalness'][0])
@@ -137,8 +137,8 @@ def createnodes(objekti,texcoat): #luo nodes palikat ja linkittaa tekstuurit nii
if(bring_normal == True and glue_mat.inputs.find('Normal') != -1 and texcoat['nmap'] != []):
node = act_material.node_tree.nodes.new('ShaderNodeTexImage')
normal_node = act_material.node_tree.nodes.new('ShaderNodeNormalMap')
- node.location = -600,-270
- normal_node.location = -300,-170
+ node.location = -600,-370
+ normal_node.location = -300,-270
node.name='3DC_normal'
if(texcoat['nmap']):
node.image = bpy.data.images.load(texcoat['nmap'][0])