diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2019-03-13 19:01:20 +0300 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2019-03-13 19:01:45 +0300 |
commit | 7cd98c4dd4b83e4fa3f6624a4256c5d557affbe3 (patch) | |
tree | 415d6565856c8414d53b66f1832b065f3118a9b4 /io_coat3D | |
parent | e4de25e78b59e9a5fcd08a25dcdb1e93f72473d5 (diff) |
fixes alpha node linking bug
Diffstat (limited to 'io_coat3D')
-rw-r--r-- | io_coat3D/tex.py | 3 |
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: |