mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
Pass hook_loaders_by_id in SceneInventory view
This commit is contained in:
parent
761ef4b4af
commit
f44b81a7e5
1 changed files with 6 additions and 1 deletions
|
|
@ -1100,11 +1100,16 @@ class SceneInventoryView(QtWidgets.QTreeView):
|
|||
containers_by_id = self._controller.get_containers_by_item_ids(
|
||||
item_ids
|
||||
)
|
||||
hook_loaders_by_id = self._controller.get_hook_loaders_by_identifier()
|
||||
try:
|
||||
for item_id, item_version in zip(item_ids, versions):
|
||||
container = containers_by_id[item_id]
|
||||
try:
|
||||
update_container(container, item_version)
|
||||
update_container(
|
||||
container,
|
||||
item_version,
|
||||
hook_loaders_by_id
|
||||
)
|
||||
except AssertionError:
|
||||
log.warning("Update failed", exc_info=True)
|
||||
self._show_version_error_dialog(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue