mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
ignore locked containers when updating versions
This commit is contained in:
parent
31b65f22ae
commit
055bf3fc17
1 changed files with 2 additions and 0 deletions
|
|
@ -1114,6 +1114,8 @@ class SceneInventoryView(QtWidgets.QTreeView):
|
|||
try:
|
||||
for item_id, item_version in zip(item_ids, versions):
|
||||
container = containers_by_id[item_id]
|
||||
if container.get("version_locked"):
|
||||
continue
|
||||
try:
|
||||
update_container(container, item_version)
|
||||
except Exception as exc:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue