From 49cfd19a160c104623652fe42c751076aacaec3f Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Thu, 3 Dec 2020 17:54:40 +0100 Subject: [PATCH] convert unreal to settings --- pype/hosts/unreal/lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pype/hosts/unreal/lib.py b/pype/hosts/unreal/lib.py index d6bfba436e..c356193ea0 100644 --- a/pype/hosts/unreal/lib.py +++ b/pype/hosts/unreal/lib.py @@ -4,7 +4,7 @@ import platform import json from distutils import dir_util import subprocess -from pype.api import config +from pype.api import get_current_project_settings def get_engine_versions(): @@ -150,7 +150,7 @@ def create_unreal_project(project_name: str, :type dev_mode: bool :returns: None """ - preset = config.get_presets()["unreal"]["project_setup"] + preset = get_current_project_settings()["unreal"]["project_setup"] if os.path.isdir(os.environ.get("AVALON_UNREAL_PLUGIN", "")): # copy plugin to correct path under project