Exclude instances nodes from slate collection.

This commit is contained in:
Toke Stuart Jepsen 2024-03-07 19:10:58 +00:00
parent 1a0b236508
commit 8b4085b3c3

View file

@ -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
)