From 384f92a516d1ad5d9fe4a1d8b4289cc8df0b89a7 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 13 May 2020 11:12:11 +0200 Subject: [PATCH] Prevent crashes when loading objects before initialization is done Fixes CURA-7J --- cura/CuraApplication.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index c679432104..46ca3c6211 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -1734,6 +1734,9 @@ class CuraApplication(QtApplication): if not global_container_stack: Logger.log("w", "Can't load meshes before a printer is added.") return + if not self._volume: + Logger.log("w", "Can't load meshes before the build volume is initialized") + return nodes = job.getResult() file_name = job.getFileName()