mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Prevent crashes when loading objects before initialization is done
Fixes CURA-7J
This commit is contained in:
parent
8aabf113d2
commit
384f92a516
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue