mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 23:29:07 +08:00
Load view plugins in PrinterApplication and set a default view
This commit is contained in:
parent
6167788382
commit
15cec2dbe2
@ -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…
x
Reference in New Issue
Block a user