Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

Commit a1eafa1

Browse files
committed
fix(nuke): select nodes were failing
1 parent b5ccdaa commit a1eafa1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

avalon/nuke/lib.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,11 @@ def select_nodes(nodes):
5656
"""
5757
assert isinstance(nodes, (list, tuple)), "nodes has to be list or tuple"
5858

59-
for node in nodes:
60-
node['selected'].setValue(True)
59+
try:
60+
for node in nodes:
61+
node['selected'].setValue(True)
62+
except ValueError as e:
63+
log.warning(e)
6164

6265

6366
def add_publish_knob(node):

0 commit comments

Comments
 (0)