mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 07:17:52 -06:00
Merge branch '15.06' of https://github.com/Ultimaker/Cura into 15.06
This commit is contained in:
commit
d41f1a410c
4 changed files with 43 additions and 13 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue