mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix(nuke): some nodes are failing due disable knob
This commit is contained in:
parent
c25a70d72d
commit
e0d288cdef
1 changed files with 4 additions and 1 deletions
|
|
@ -28,12 +28,15 @@ class CollectNukeInstances(pyblish.api.ContextPlugin):
|
|||
self.log.debug("nuke.allNodes(): {}".format(nuke.allNodes()))
|
||||
for node in nuke.allNodes():
|
||||
|
||||
if node.Class() in ["Viewer", "Dot"]:
|
||||
continue
|
||||
|
||||
try:
|
||||
if node["disable"].value():
|
||||
continue
|
||||
except Exception as E:
|
||||
self.log.warning(E)
|
||||
|
||||
|
||||
|
||||
# get data from avalon knob
|
||||
self.log.debug("node[name]: {}".format(node['name'].value()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue