mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
use 'folder_path' to define current context
This commit is contained in:
parent
73e7317d3a
commit
54b2fa9658
24 changed files with 49 additions and 49 deletions
|
|
@ -320,7 +320,7 @@ class LoaderController(BackendLoaderController, FrontendLoaderController):
|
|||
context = get_current_context()
|
||||
folder_id = None
|
||||
project_name = context.get("project_name")
|
||||
asset_name = context.get("asset_name")
|
||||
asset_name = context.get("folder_path")
|
||||
if project_name and asset_name:
|
||||
folder = ayon_api.get_folder_by_path(
|
||||
project_name, asset_name, fields=["id"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue