mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Fix Manage, remove Project manage
This commit is contained in:
parent
aa6bedd57c
commit
39cce072aa
1 changed files with 5 additions and 2 deletions
|
|
@ -5,11 +5,12 @@ import re
|
|||
stub = aftereffects.stub()
|
||||
|
||||
|
||||
class ResourceLoader(api.Loader):
|
||||
class FileLoader(api.Loader):
|
||||
"""Load images
|
||||
|
||||
Stores the imported asset in a container named after the asset.
|
||||
"""
|
||||
label = "File Loader"
|
||||
|
||||
families = ["image",
|
||||
"render2d",
|
||||
|
|
@ -82,7 +83,9 @@ class ResourceLoader(api.Loader):
|
|||
# with aftereffects.maintained_selection(): # TODO
|
||||
stub.replace_item(layer, path, layer_name)
|
||||
stub.imprint(
|
||||
layer, {"representation": str(representation["_id"])}
|
||||
layer, {"representation": str(representation["_id"]),
|
||||
"name": context["subset"],
|
||||
"namespace": layer_name}
|
||||
)
|
||||
|
||||
def remove(self, container):
|
||||
Loading…
Add table
Add a link
Reference in a new issue