mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
skip lock check if in untitled scene
This commit is contained in:
parent
1c60d72e81
commit
6934233c25
1 changed files with 3 additions and 0 deletions
|
|
@ -514,6 +514,9 @@ def check_lock_on_current_file():
|
|||
|
||||
# add the lock file when opening the file
|
||||
filepath = current_file()
|
||||
# Skip if current file is 'untitled'
|
||||
if not filepath:
|
||||
return
|
||||
|
||||
if is_workfile_locked(filepath):
|
||||
# add lockfile dialog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue