mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 14:22:37 +01:00
OP-2765 - reimplemented get_context_title
This commit is contained in:
parent
87d114a272
commit
32f015098b
1 changed files with 6 additions and 1 deletions
|
|
@ -273,7 +273,12 @@ def update_context_data(data, changes):
|
|||
|
||||
def get_context_title():
|
||||
"""Returns title for Creator window"""
|
||||
return "AfterEffects"
|
||||
import avalon.api
|
||||
|
||||
project_name = avalon.api.Session["AVALON_PROJECT"]
|
||||
asset_name = avalon.api.Session["AVALON_ASSET"]
|
||||
task_name = avalon.api.Session["AVALON_TASK"]
|
||||
return "{}/{}/{}".format(project_name, asset_name, task_name)
|
||||
|
||||
|
||||
def _get_stub():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue