mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
flame: single file in representation if mov or thumb
This commit is contained in:
parent
9052adfbd3
commit
a6fb84f3e1
1 changed files with 5 additions and 1 deletions
|
|
@ -217,7 +217,11 @@ class ExtractSubsetResources(openpype.api.Extractor):
|
|||
# add files to represetation but add
|
||||
# imagesequence as list
|
||||
if (
|
||||
"movie_file" in preset_path
|
||||
# first check if path in files is not mov extension
|
||||
next([
|
||||
f for f in files if ".mov" in os.path.splitext(f)[-1]
|
||||
], None)
|
||||
# then try if thumbnail is not in unique name
|
||||
or unique_name == "thumbnail"
|
||||
):
|
||||
representation_data["files"] = files.pop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue