From 4c593720445ee9c4336a4da4018b57aac48ab60b Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Thu, 15 Aug 2019 19:12:15 +0200 Subject: [PATCH] presets are loaded for project --- pype/ftrack/actions/action_prepare_project.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pype/ftrack/actions/action_prepare_project.py b/pype/ftrack/actions/action_prepare_project.py index 60a7435907..0cdeab4004 100644 --- a/pype/ftrack/actions/action_prepare_project.py +++ b/pype/ftrack/actions/action_prepare_project.py @@ -41,9 +41,9 @@ class PrepareProject(BaseAction): self.log.debug("Loading custom attributes") cust_attrs, hier_cust_attrs = get_avalon_attr(session, True) - project_defaults = config.get_presets().get("ftrack", {}).get( - "project_defaults", {} - ) + project_defaults = config.get_presets( + entities[0]["full_name"] + ).get("ftrack", {}).get("project_defaults", {}) self.log.debug("Preparing data which will be shown") attributes_to_set = {}