mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Fix gaps in color transcode
Create sequence only if no gaps.
This commit is contained in:
parent
ab3fdea704
commit
d150377092
1 changed files with 4 additions and 0 deletions
|
|
@ -280,6 +280,10 @@ class ExtractOIIOTranscode(publish.Extractor):
|
|||
|
||||
collection = collections[0]
|
||||
frames = list(collection.indexes)
|
||||
real_range = list(range(frames[0], frames[-1] + 1))
|
||||
if set(frames) != set(real_range): # check for gaps
|
||||
return files_to_convert
|
||||
|
||||
frame_str = "{}-{}#".format(frames[0], frames[-1])
|
||||
file_name = "{}{}{}".format(collection.head, frame_str,
|
||||
collection.tail)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue