mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
store version id to versions set
This commit is contained in:
parent
29a3b56d46
commit
fe5ef4aa8c
1 changed files with 3 additions and 2 deletions
|
|
@ -1214,9 +1214,10 @@ class SwitchAssetDialog(QtWidgets.QDialog):
|
|||
version_ids = set()
|
||||
version_docs_by_parent_id_and_name = collections.defaultdict(dict)
|
||||
for version_doc in version_docs:
|
||||
subset_id = version_doc["parent"]
|
||||
version_ids.add(version_doc["_id"])
|
||||
product_id = version_doc["parent"]
|
||||
name = version_doc["name"]
|
||||
version_docs_by_parent_id_and_name[subset_id][name] = version_doc
|
||||
version_docs_by_parent_id_and_name[product_id][name] = version_doc
|
||||
|
||||
hero_version_docs_by_parent_id = {}
|
||||
for hero_version_doc in hero_version_docs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue