From 8b4f5ec42a210c08f22bba61abc09d1d0f9dd047 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Fri, 24 Jan 2025 14:21:22 +0100 Subject: [PATCH] added one more check if current project is the project name passed in --- client/ayon_core/pipeline/create/creator_plugins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/ayon_core/pipeline/create/creator_plugins.py b/client/ayon_core/pipeline/create/creator_plugins.py index ce109e3a37..fca671d546 100644 --- a/client/ayon_core/pipeline/create/creator_plugins.py +++ b/client/ayon_core/pipeline/create/creator_plugins.py @@ -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(