nuke: reverse logic

This commit is contained in:
Jakub Jezek 2023-01-16 14:59:02 +01:00
parent 4bcd90b415
commit 66cde9f6c7
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -897,7 +897,7 @@ def get_view_process_node():
for v in nuke.allNodes(filter="Viewer"):
ipn = v['input_process_node'].getValue()
if ipn:
if "VIEWER_INPUT" not in ipn:
if "VIEWER_INPUT" in ipn:
return
ipn_orig = nuke.toNode(ipn)
ipn_orig.setSelected(True)