Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cura
diff options
context:
space:
mode:
authorc.lamboo <casperlamboo@gmail.com>2022-06-27 16:39:48 +0300
committerc.lamboo <casperlamboo@gmail.com>2022-06-27 16:39:48 +0300
commita9674620385b2580268fd73cc5a102b2f5f8592a (patch)
tree2a46a140bbdee50827e7a1888f17d65984e6622e /cura
parentfab8598a05765860159b8cbc08da79de92379eec (diff)
Add res folder to resource folder
CURA-9365
Diffstat (limited to 'cura')
-rwxr-xr-xcura/CuraApplication.py4
1 files 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):