mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
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:
parent
f6ccbab9dc
commit
087ab79b3c
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue