mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Moved plugins that need to be loaded to own function
This commit is contained in:
parent
0c18161d13
commit
4d082bad25
1 changed files with 5 additions and 2 deletions
|
@ -20,8 +20,8 @@ class PrinterApplication(QtApplication):
|
|||
self.setApplicationName('printer')
|
||||
self._machine_settings.loadSettingsFromFile(Resources.getPath(Resources.SettingsLocation, "ultimaker2.json"))
|
||||
self._physics = None
|
||||
|
||||
def run(self):
|
||||
|
||||
def _loadPlugins(self):
|
||||
self._plugin_registry.loadPlugins({ "type": "Logger"})
|
||||
self._plugin_registry.loadPlugins({ "type": "StorageDevice" })
|
||||
self._plugin_registry.loadPlugins({ "type": "View" })
|
||||
|
@ -29,6 +29,9 @@ class PrinterApplication(QtApplication):
|
|||
self._plugin_registry.loadPlugins({ "type": "Tool" })
|
||||
|
||||
self._plugin_registry.loadPlugin('CuraEngineBackend')
|
||||
|
||||
def run(self):
|
||||
|
||||
|
||||
controller = self.getController()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue