mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Make it possible to use application-specific setting directories
This commit is contained in:
parent
35c6dbb40c
commit
a13be5d9dc
1 changed files with 1 additions and 5 deletions
|
@ -18,9 +18,7 @@ import os.path
|
|||
|
||||
class PrinterApplication(QtApplication):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.setApplicationName('printer')
|
||||
self._machine_settings.loadSettingsFromFile(Resources.getPath(Resources.SettingsLocation, "ultimaker_original+.json"))
|
||||
super().__init__(name = 'Cura')
|
||||
self.setRequiredPlugins(['CuraEngineBackend', 'MeshView', 'LayerView', 'STLReader','SelectionTool','CameraTool'])
|
||||
self._physics = None
|
||||
|
||||
|
@ -34,8 +32,6 @@ class PrinterApplication(QtApplication):
|
|||
self._plugin_registry.loadPlugin('CuraEngineBackend')
|
||||
|
||||
def run(self):
|
||||
self.parseArguments()
|
||||
|
||||
controller = self.getController()
|
||||
|
||||
controller.setActiveView("MeshView")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue