diff options
author | Greg <gregzzmail@gmail.com> | 2016-03-30 15:21:54 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-05 11:54:35 +0300 |
commit | f9f6282824dbe0b482ee53785d346d42bbc82b69 (patch) | |
tree | 10f3fbd166acb054e3ea3780197cb0062e107974 | |
parent | b9660e452d5ba4cdd5759fa8f45c81c4f19cf203 (diff) |
Node Wrangler tidy silly duplicate logic
-rw-r--r-- | node_wrangler.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/node_wrangler.py b/node_wrangler.py index c102a1a0..b0947af1 100644 --- a/node_wrangler.py +++ b/node_wrangler.py @@ -1575,10 +1575,7 @@ class NWEmissionViewer(Operator, NWBase): out_i = valid_outputs[0] # Start index of node's outputs 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 and out_link.to_socket == materialout.inputs[0]): - linked_to_out = True - if linked_to_out: if i < len(valid_outputs) - 1: out_i = valid_outputs[i + 1] else: |