From f60dc01e6638d8c8c78d515ff67f7e25ebf2079b Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Wed, 5 Aug 2015 21:12:21 +0200 Subject: [PATCH] Disable machine detection code for the moment as it needs to be ported --- cura/CuraApplication.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 690229220c..ed0386413e 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -162,17 +162,17 @@ class CuraApplication(QtApplication): self.setMainQml(Resources.getPath(self.ResourceTypes.QmlFiles, "Cura.qml")) self.initializeEngine() - if self.getMachines(): - active_machine_pref = Preferences.getInstance().getValue("cura/active_machine") - if active_machine_pref: - for machine in self.getMachines(): - if machine.getName() == active_machine_pref: - self.setActiveMachine(machine) + #if self.getMachines(): + #active_machine_pref = Preferences.getInstance().getValue("cura/active_machine") + #if active_machine_pref: + #for machine in self.getMachines(): + #if machine.getName() == active_machine_pref: + #self.setActiveMachine(machine) - if not self.getActiveMachine(): - self.setActiveMachine(self.getMachines()[0]) - else: - self.requestAddPrinter.emit() + #if not self.getActiveMachine(): + #self.setActiveMachine(self.getMachines()[0]) + #else: + #self.requestAddPrinter.emit() if self._engine.rootObjects: self.closeSplash()