mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -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
|
@ -21,7 +21,7 @@ class PrinterApplication(QtApplication):
|
|||
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" })
|
||||
|
@ -30,6 +30,9 @@ class PrinterApplication(QtApplication):
|
|||
|
||||
self._plugin_registry.loadPlugin('CuraEngineBackend')
|
||||
|
||||
def run(self):
|
||||
|
||||
|
||||
controller = self.getController()
|
||||
|
||||
controller.setActiveView("MeshView")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue