mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
Merge pull request #5799 from ynput/bugfix/ayon-subset-loaders-fix
AYON loader: Fix SubsetLoader functionality
This commit is contained in:
commit
bffcf33237
1 changed files with 2 additions and 1 deletions
|
|
@ -447,11 +447,12 @@ class LoaderActionsModel:
|
|||
project_doc["code"] = project_doc["data"]["code"]
|
||||
|
||||
for version_doc in version_docs:
|
||||
version_id = version_doc["_id"]
|
||||
product_id = version_doc["parent"]
|
||||
product_doc = product_docs_by_id[product_id]
|
||||
folder_id = product_doc["parent"]
|
||||
folder_doc = folder_docs_by_id[folder_id]
|
||||
version_context_by_id[product_id] = {
|
||||
version_context_by_id[version_id] = {
|
||||
"project": project_doc,
|
||||
"asset": folder_doc,
|
||||
"subset": product_doc,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue