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-13 19:01:20 +0300
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2019-03-13 19:01:45 +0300
commit7cd98c4dd4b83e4fa3f6624a4256c5d557affbe3 (patch)
tree415d6565856c8414d53b66f1832b065f3118a9b4 /io_coat3D/tex.py
parente4de25e78b59e9a5fcd08a25dcdb1e93f72473d5 (diff)
fixes alpha node linking bug
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r--io_coat3D/tex.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index 48908606..8b1f8930 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -555,7 +555,8 @@ def CreateTextureLine(type, act_material, main_mat, texcoat, coat3D, notegroup,
if(tile_list):
node = texture_node_tree
- act_material.links.new(node.outputs[1], notegroup.inputs[8])
+ if (type['name'] == 'color'):
+ act_material.links.new(node.outputs[1], notegroup.inputs[8])
else: