mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fix scene inventory
This commit is contained in:
parent
956ad8299b
commit
27b8f77855
1 changed files with 1 additions and 1 deletions
|
|
@ -198,12 +198,12 @@ class InventoryModel(TreeModel):
|
|||
self.clear()
|
||||
|
||||
if self._hierarchy_view and selected:
|
||||
|
||||
if not hasattr(host.pipeline, "update_hierarchy"):
|
||||
# If host doesn't support hierarchical containers, then
|
||||
# cherry-pick only.
|
||||
self.add_items((item for item in items
|
||||
if item["objectName"] in selected))
|
||||
return
|
||||
|
||||
# Update hierarchy info for all containers
|
||||
items_by_name = {item["objectName"]: item
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue