Skip to content

Commit

Permalink
skip unpublished instances (ynput#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaamaurice authored Jul 6, 2023
1 parent 33519b9 commit 6086478
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openpype/hosts/blender/plugins/publish/integrate_blend.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ def process(self, context):
# Process all instances
context.data.setdefault("representations_futures", [])
for instance in context:
# Skip unpublished instances
if not instance.data.get("publish"):
continue
# Get published and hero representations
representations = instance.data.get("published_representations")
representations.update(
Expand Down

0 comments on commit 6086478

Please sign in to comment.