Merge branch '15.06' of https://github.com/Ultimaker/Cura into 15.06

This commit is contained in:
Tamara Hogenhout 2015-07-10 17:53:55 +02:00
commit d41f1a410c
4 changed files with 43 additions and 13 deletions

View file

@ -111,6 +111,7 @@ class CuraApplication(QtApplication):
self._plugin_registry.loadPlugin("CuraEngineBackend")
def addCommandLineOptions(self, parser):
super().addCommandLineOptions(parser)
parser.add_argument("file", nargs="*", help="Files to load after starting the application.")
def run(self):
@ -549,7 +550,7 @@ class CuraApplication(QtApplication):
op.push()
def _onJobFinished(self, job):
if type(job) is not ReadMeshJob:
if type(job) is not ReadMeshJob or not job.getResult():
return
f = QUrl.fromLocalFile(job.getFileName())