Remove invisible flag from allowed command line options to trigger non-gui mode

This commit is contained in:
ChrisTerBeke 2017-12-22 11:39:58 +01:00
parent b29047abd3
commit f75d91071a

View file

@ -691,7 +691,7 @@ class CuraApplication(QtApplication):
self.setMainQml(Resources.getPath(self.ResourceTypes.QmlFiles, "Cura.qml"))
self._qml_import_paths.append(Resources.getPath(self.ResourceTypes.QmlFiles))
run_without_gui = self.getCommandLineOption("headless", False) or self.getCommandLineOption("invisible", False)
run_without_gui = self.getCommandLineOption("headless", False)
if not run_without_gui:
self.initializeEngine()
controller.setActiveStage("PrepareStage")