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.
This commit is contained in:
Ghostkeeper 2015-12-30 12:28:31 +01:00
parent f6ccbab9dc
commit 087ab79b3c

View file

@ -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()