From a9674620385b2580268fd73cc5a102b2f5f8592a Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Mon, 27 Jun 2022 15:39:48 +0200 Subject: [PATCH] Add res folder to resource folder CURA-9365 --- cura/CuraApplication.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index e1805584b0..730b0468da 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -355,8 +355,8 @@ class CuraApplication(QtApplication): Resources.addSecureSearchPath(os.path.join(self._app_install_dir, "share", "cura", "resources")) if not hasattr(sys, "frozen"): - resource_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "resources") - Resources.addSecureSearchPath(resource_path) + Resources.addSecureSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "resources")) + Resources.addSecureSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "..", "res", "resources")) @classmethod def _initializeSettingDefinitions(cls):