mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix edge case for ExtractOIIOTranscode
This commit is contained in:
parent
26409d4fec
commit
f59e403a3d
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue