conver repres cursor to list

This commit is contained in:
Jakub Trllo 2022-06-09 10:53:15 +02:00
parent 39ea438d7d
commit a48d77e609

View file

@ -165,11 +165,11 @@ class SwitchAssetDialog(QtWidgets.QDialog):
content_loaders.add(item["loader"])
project_name = self.active_project()
repres = get_representations(
repres = list(get_representations(
project_name,
representation_ids=repre_ids,
archived=True
)
))
repres_by_id = {repre["_id"]: repre for repre in repres}
# stash context values, works only for single representation