diff options
author | Greg <gregzzmail@gmail.com> | 2016-03-30 15:13:14 +0300 |
---|---|---|
committer | Greg <gregzzmail@gmail.com> | 2016-03-30 15:13:14 +0300 |
commit | 8c19f730b75a223790667f2d3181a21a7530e791 (patch) | |
tree | e2388d1c203a67a5ae07cfbf056f0207326f90be /node_wrangler.py | |
parent | e42f47d181a4d725b95200fd33d873fc85be6704 (diff) |
Node Wrangler: Fix T47892 output socket was ignored when connected to another input of the output node
Diffstat (limited to 'node_wrangler.py')
-rw-r--r-- | node_wrangler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_wrangler.py b/node_wrangler.py index 764db75d..7e2affa2 100644 --- a/node_wrangler.py +++ b/node_wrangler.py @@ -1568,7 +1568,7 @@ class NWEmissionViewer(Operator, NWBase): for i, valid_i in enumerate(valid_outputs): for out_link in active.outputs[valid_i].links: linked_to_out = False - if "Emission Viewer" in out_link.to_node.name or out_link.to_node == materialout: + if "Emission Viewer" in out_link.to_node.name or (out_link.to_node == materialout and out_link.to_socket == materialout.inputs[0]): linked_to_out = True if linked_to_out: if i < len(valid_outputs) - 1: |