Merge pull request #8678 from Ultimaker/CURA-7383

Gracefully handle exceptions in arrange
This commit is contained in:
Remco Burema 2020-11-03 16:51:12 +01:00 committed by GitHub
commit 6b38695c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1901,9 +1901,10 @@ class CuraApplication(QtApplication):
if select_models_on_load: if select_models_on_load:
Selection.add(node) Selection.add(node)
try:
arrange(nodes_to_arrange, self.getBuildVolume(), fixed_nodes) arrange(nodes_to_arrange, self.getBuildVolume(), fixed_nodes)
except:
Logger.logException("e", "Failed to arrange the models")
self.fileCompleted.emit(file_name) self.fileCompleted.emit(file_name)
def addNonSliceableExtension(self, extension): def addNonSliceableExtension(self, extension):