Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
query hero versions too
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Oct 5, 2022
1 parent 4059a30 commit 3418a94
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openpype/tools/loader/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,11 @@ def _repre_contexts_for_loaders_filter(self, items):
repre_doc["parent"]
for repre_doc in repre_docs
]
version_docs = get_versions(project_name, version_ids=version_ids)
version_docs = get_versions(
project_name,
version_ids=version_ids,
hero=True
)

version_docs_by_id = {}
version_docs_by_subset_id = collections.defaultdict(list)
Expand Down

0 comments on commit 3418a94

Please sign in to comment.