mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Validate knobs inside write group.
This commit is contained in:
parent
049e9ba716
commit
5dcffac491
1 changed files with 10 additions and 1 deletions
|
|
@ -64,7 +64,16 @@ class ValidateNukeWriteKnobs(pyblish.api.ContextPlugin):
|
|||
knobs.update({preset: presets[family][preset]})
|
||||
|
||||
# Get invalid knobs.
|
||||
nodes = nuke.allNodes()
|
||||
nodes = []
|
||||
|
||||
for node in nuke.allNodes():
|
||||
nodes.append(node)
|
||||
if node.Class() == "Group":
|
||||
node.begin()
|
||||
for i in nuke.allNodes():
|
||||
nodes.append(i)
|
||||
node.end()
|
||||
|
||||
for node in nodes:
|
||||
for knob in node.knobs():
|
||||
if knob in knobs.keys():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue