mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fixing exporting new project
This commit is contained in:
parent
33f83f587d
commit
baf88f1358
2 changed files with 14 additions and 5 deletions
|
|
@ -89,11 +89,17 @@ def get_current_project():
|
|||
"""Get current project object.
|
||||
"""
|
||||
if not self.current_project:
|
||||
self.current_project = get_project_manager().GetCurrentProject()
|
||||
set_current_project()
|
||||
|
||||
return self.current_project
|
||||
|
||||
|
||||
def set_current_project():
|
||||
"""Set current project object.
|
||||
"""
|
||||
self.current_project = get_project_manager().GetCurrentProject()
|
||||
|
||||
|
||||
def get_current_timeline(new=False):
|
||||
"""Get current timeline object.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue