Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Exclude instances nodes from slate collection.
Browse files Browse the repository at this point in the history
  • Loading branch information
tokejepsen committed Mar 7, 2024
1 parent 75d74bf commit d99ad33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openpype/hosts/nuke/plugins/publish/collect_slate_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ def process(self, instance):
(
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
)
Expand Down

0 comments on commit d99ad33

Please sign in to comment.