mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Exclude instances nodes from slate collection.
This commit is contained in:
parent
1a0b236508
commit
8b4085b3c3
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,8 @@ class CollectSlate(pyblish.api.InstancePlugin):
|
|||
(
|
||||
n_ for n_ in nuke.allNodes()
|
||||
if "slate" in n_.name().lower()
|
||||
if not n_["disable"].getValue()
|
||||
if not n_["disable"].getValue() and
|
||||
"publish_instance" not in n_.knobs() # Exclude instance nodes.
|
||||
),
|
||||
None
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue