From ca59ad7bf740f1ddc34f19e4670bbd951e37a84c Mon Sep 17 00:00:00 2001 From: jakubjezek001 Date: Thu, 18 Dec 2025 10:05:35 +0100 Subject: [PATCH] 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. --- client/ayon_core/plugins/publish/extract_color_transcode.py | 6 ++++++ 1 file changed, 6 insertions(+) mode change 100644 => 100755 client/ayon_core/plugins/publish/extract_color_transcode.py diff --git a/client/ayon_core/plugins/publish/extract_color_transcode.py b/client/ayon_core/plugins/publish/extract_color_transcode.py old mode 100644 new mode 100755 index 63a73e07fa..b13a41b090 --- a/client/ayon_core/plugins/publish/extract_color_transcode.py +++ b/client/ayon_core/plugins/publish/extract_color_transcode.py @@ -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,