mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Add review family when review representation is added
Ensures that instances with added review representations are properly tagged with the "review" family for downstream processing.
This commit is contained in:
parent
55eb4cccbe
commit
ca59ad7bf7
1 changed files with 6 additions and 0 deletions
6
client/ayon_core/plugins/publish/extract_color_transcode.py
Normal file → Executable file
6
client/ayon_core/plugins/publish/extract_color_transcode.py
Normal file → Executable file
|
|
@ -279,6 +279,12 @@ class ExtractOIIOTranscode(publish.Extractor):
|
|||
if "delete" in tags and "thumbnail" not in tags:
|
||||
instance.data["representations"].remove(repre)
|
||||
|
||||
if (
|
||||
added_review
|
||||
and "review" not in instance.data["families"]
|
||||
):
|
||||
instance.data["families"].append("review")
|
||||
|
||||
instance.data["representations"].extend(new_representations)
|
||||
|
||||
def _rename_in_representation(self, new_repre, files_to_convert,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue