mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Print information not being set won't cause crash anymore
This commit is contained in:
parent
ddacdf523e
commit
ade1c039ea
1 changed files with 2 additions and 2 deletions
|
@ -195,8 +195,8 @@ class CuraEngineBackend(QObject, Backend):
|
|||
self.backendStateChange.emit(BackendState.Done)
|
||||
Logger.log("w", "Slice unnecessary, nothing has changed that needs reslicing.")
|
||||
return
|
||||
|
||||
Application.getInstance().getPrintInformation().setToZeroPrintInformation()
|
||||
if Application.getInstance().getPrintInformation():
|
||||
Application.getInstance().getPrintInformation().setToZeroPrintInformation()
|
||||
|
||||
self._stored_layer_data = []
|
||||
self._stored_optimized_layer_data = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue