mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Load view plugins in PrinterApplication and set a default view
This commit is contained in:
parent
6167788382
commit
15cec2dbe2
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@ class PrinterApplication(WxApplication):
|
|||
|
||||
def run(self):
|
||||
self._plugin_registry.loadPlugins({ "type": "StorageDevice" })
|
||||
self._plugin_registry.loadPlugins({ "type": "View" })
|
||||
|
||||
window = MainWindow("Cura Printer")
|
||||
self.getController().setActiveView("MeshView")
|
||||
|
||||
window = MainWindow("Cura Printer", self)
|
||||
window.Show()
|
||||
super(PrinterApplication, self).run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue