Merge pull request #257 from ynput/bugfix/maya-look-assigner-fix

Maya: Look assigner fix folder entity key
This commit is contained in:
Jakub Trllo 2024-03-26 17:17:23 +01:00 committed by GitHub
commit ee0bf77645
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: