From 526eb8dacdc33a7f7b31f7d4b0f09cf006493d35 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 3 Nov 2020 09:48:54 +0100 Subject: [PATCH] Gracefully handle exceptions in arrange CURA-7785 --- cura/CuraApplication.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 24acf08d74..0411343855 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -1901,9 +1901,10 @@ class CuraApplication(QtApplication): if select_models_on_load: Selection.add(node) - - arrange(nodes_to_arrange, self.getBuildVolume(), fixed_nodes) - + try: + arrange(nodes_to_arrange, self.getBuildVolume(), fixed_nodes) + except: + Logger.logException("e", "Failed to arrange the models") self.fileCompleted.emit(file_name) def addNonSliceableExtension(self, extension):