mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Editorial: Fix clip_media source for review track.
This commit is contained in:
parent
704b011474
commit
145688d56f
1 changed files with 4 additions and 2 deletions
|
|
@ -178,7 +178,8 @@ class CollectOtioSubsetResources(
|
|||
repre = self._create_representation(
|
||||
frame_start, frame_end, collection=collection)
|
||||
|
||||
if "review" in instance.data["families"]:
|
||||
if ("review" in instance.data["families"] and
|
||||
not instance.data.get("otioReviewClips")):
|
||||
review_repre = self._create_representation(
|
||||
frame_start, frame_end, collection=collection,
|
||||
delete=True, review=True)
|
||||
|
|
@ -197,7 +198,8 @@ class CollectOtioSubsetResources(
|
|||
repre = self._create_representation(
|
||||
frame_start, frame_end, file=filename, trim=_trim)
|
||||
|
||||
if "review" in instance.data["families"]:
|
||||
if ("review" in instance.data["families"] and
|
||||
not instance.data.get("otioReviewClips")):
|
||||
review_repre = self._create_representation(
|
||||
frame_start, frame_end,
|
||||
file=filename, delete=True, review=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue