Adding set stage back

This commit is contained in:
ChrisTerBeke 2017-12-18 10:50:50 +01:00
parent 6666829939
commit 443e155cf7

View File

@ -687,6 +687,7 @@ class CuraApplication(QtApplication):
run_without_gui = self.getCommandLineOption("headless", False) or self.getCommandLineOption("invisible", False)
if not run_without_gui:
self.initializeEngine()
controller.setActiveStage("PrepareStage")
if run_without_gui or self._engine.rootObjects:
self.closeSplash()