From 087ab79b3c87494929aba7884302fde882000978 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 30 Dec 2015 12:28:31 +0100 Subject: [PATCH] Always load CuraEngineBackend plugin first In the same way that consolelogger is loaded firstly, the engine is loaded secondly. After that the rest of the plugins are loaded. I'd really have loved to use some sort of plugin dependency system but that is out of scope right now. Fixes all external plugins that use the backend, such as to trigger a reslice (such as PostProcessing). Contributes to issue CURA-443. --- cura/CuraApplication.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 43c3d95ed2..71f8993385 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -132,6 +132,7 @@ class CuraApplication(QtApplication): if not hasattr(sys, "frozen"): self._plugin_registry.addPluginLocation(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "plugins")) self._plugin_registry.loadPlugin("ConsoleLogger") + self._plugin_registry.loadPlugin("CuraEngineBackend") self._plugin_registry.loadPlugins()