mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update client/ayon_core/hosts/hiero/api/workio.py
Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
This commit is contained in:
parent
8499660acb
commit
8e4fe3bdde
1 changed files with 3 additions and 0 deletions
|
|
@ -56,8 +56,11 @@ def open_file(filepath):
|
|||
|
||||
# Close previous project if its different to the current project.
|
||||
if project.path() != filepath:
|
||||
# open project file
|
||||
hiero.core.openProject(filepath.replace(os.path.sep, "/"))
|
||||
project.close()
|
||||
|
||||
|
||||
return True
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue