mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
resolve: adding extensions to loader
This commit is contained in:
parent
f432fb29de
commit
1b479f7eb7
1 changed files with 9 additions and 2 deletions
|
|
@ -14,7 +14,10 @@ from openpype.hosts.resolve.api.pipeline import (
|
||||||
containerise,
|
containerise,
|
||||||
update_container,
|
update_container,
|
||||||
)
|
)
|
||||||
|
from openpype.lib.transcoding import (
|
||||||
|
VIDEO_EXTENSIONS,
|
||||||
|
IMAGE_EXTENSIONS
|
||||||
|
)
|
||||||
|
|
||||||
class LoadClip(plugin.TimelineItemLoader):
|
class LoadClip(plugin.TimelineItemLoader):
|
||||||
"""Load a subset to timeline as clip
|
"""Load a subset to timeline as clip
|
||||||
|
|
@ -24,7 +27,11 @@ class LoadClip(plugin.TimelineItemLoader):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
families = ["render2d", "source", "plate", "render", "review"]
|
families = ["render2d", "source", "plate", "render", "review"]
|
||||||
representations = ["exr", "dpx", "jpg", "jpeg", "png", "h264", "mov"]
|
|
||||||
|
representations = ["*"]
|
||||||
|
extensions = set(
|
||||||
|
ext.lstrip(".") for ext in IMAGE_EXTENSIONS.union(VIDEO_EXTENSIONS)
|
||||||
|
)
|
||||||
|
|
||||||
label = "Load as clip"
|
label = "Load as clip"
|
||||||
order = -10
|
order = -10
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue