From f59e403a3dbfac41eaa8b6debacc0c8f9a746484 Mon Sep 17 00:00:00 2001 From: Toke Stuart Jepsen Date: Tue, 23 Jan 2024 17:37:39 +0000 Subject: [PATCH] Fix edge case for ExtractOIIOTranscode --- openpype/plugins/publish/extract_color_transcode.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openpype/plugins/publish/extract_color_transcode.py b/openpype/plugins/publish/extract_color_transcode.py index faacb7af2e..052759c10b 100644 --- a/openpype/plugins/publish/extract_color_transcode.py +++ b/openpype/plugins/publish/extract_color_transcode.py @@ -189,6 +189,13 @@ class ExtractOIIOTranscode(publish.Extractor): if len(new_repre["files"]) == 1: new_repre["files"] = new_repre["files"][0] + # If the source representation has "review" tag, but its not + # part of the output defintion tags, then both the + # representations will be transcoded in ExtractReview and + # their outputs will clash in integration. + if not added_review and "review" in repre.get("tags", []): + added_review = True + new_representations.append(new_repre) added_representations = True