mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 23:35:53 +08:00
Prevent crashes when loading objects before initialization is done
Fixes CURA-7J
This commit is contained in:
parent
8aabf113d2
commit
384f92a516
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user