nuke: fixes of publishing workflow for nuke 12

This commit is contained in:
Jakub Jezek 2023-01-16 14:12:30 +01:00
parent 4c1e34a2db
commit 4bcd90b415
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
3 changed files with 5 additions and 6 deletions

View file

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