mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix access to folder entity in look assigner tool
This commit is contained in:
parent
5db37c9590
commit
ec11da9861
1 changed files with 3 additions and 2 deletions
|
|
@ -125,8 +125,9 @@ class AssetOutliner(QtWidgets.QWidget):
|
|||
folder_items = {}
|
||||
namespaces_by_folder_path = defaultdict(set)
|
||||
for item in items:
|
||||
folder_id = item["folder"]["id"]
|
||||
folder_path = item["folder"]["path"]
|
||||
folder_entity = item["folder_entity"]
|
||||
folder_id = folder_entity["id"]
|
||||
folder_path = folder_entity["path"]
|
||||
namespaces_by_folder_path[folder_path].add(item.get("namespace"))
|
||||
|
||||
if folder_path in folder_items:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue