Skip to content

Commit

Permalink
Merge pull request #6 from BigRoy/bugfix/fix_error_on_publish_clip
Browse files Browse the repository at this point in the history
Avoid error in integration for shot instance
  • Loading branch information
jakubjezek001 authored Jul 18, 2024
2 parents 3187040 + 6a9f12c commit aaf086b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion client/ayon_resolve/plugins/publish/precollect_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,13 @@ def create_shot_instance(self, context, timeline_item, **data):
"productType": product_type,
"family": product_type,
"families": [product_type],
"publish": get_publish_attribute(timeline_item)
"publish": get_publish_attribute(timeline_item),

# Tell the integrator this instance does not publish products
# with versions and representation. This product is solely
# intended to created shot hierarchies via the 'Extract Hierarchy
# to AYON' plug-in in ayon-core.
"integrate": False
})

context.create_instance(**data)

0 comments on commit aaf086b

Please sign in to comment.