mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
auto-fill project entity if is not passed in
This commit is contained in:
parent
cd3543f424
commit
375378e74c
1 changed files with 3 additions and 0 deletions
|
|
@ -562,6 +562,9 @@ class BaseCreator(ABC):
|
|||
instance
|
||||
)
|
||||
|
||||
if not project_entity:
|
||||
project_entity = self.create_context.get_current_project_entity()
|
||||
|
||||
return get_product_name(
|
||||
project_name,
|
||||
task_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue