mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
collect context prepare data for preview rendering through extract_review
This commit is contained in:
parent
9e69f4f52b
commit
de4bc42ec7
1 changed files with 6 additions and 0 deletions
|
|
@ -106,6 +106,12 @@ class CollectContextDataSAPublish(pyblish.api.ContextPlugin):
|
|||
instance.data["frameEnd"] = int(component["frameEnd"])
|
||||
instance.data['fps'] = int(component['fps'])
|
||||
|
||||
if component["preview"]:
|
||||
instance.data["families"].append("review")
|
||||
instance.data["repreProfiles"] = ["h264_clean"]
|
||||
component["tags"] = ["review", "delete"]
|
||||
self.log.debug("Adding review family")
|
||||
|
||||
instance.data["representations"].append(component)
|
||||
|
||||
self.log.info(in_data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue