mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
added one more check if current project is the project name passed in
This commit is contained in:
parent
375378e74c
commit
8b4f5ec42a
1 changed files with 2 additions and 1 deletions
|
|
@ -562,7 +562,8 @@ class BaseCreator(ABC):
|
|||
instance
|
||||
)
|
||||
|
||||
if not project_entity:
|
||||
cur_project_name = self.create_context.get_current_project_name()
|
||||
if not project_entity and project_name == cur_project_name:
|
||||
project_entity = self.create_context.get_current_project_entity()
|
||||
|
||||
return get_product_name(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue