mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 11:33:14 +08:00
Don't start slicing again if you can't slice
Contributes to issue CURA-4766.
This commit is contained in:
parent
b20c6c6ac7
commit
fefb20deb7
@ -204,7 +204,6 @@ class CuraEngineBackend(QObject, Backend):
|
|||||||
|
|
||||||
if self._process_layers_job:
|
if self._process_layers_job:
|
||||||
Logger.log("d", " ## Process layers job still busy, trying later")
|
Logger.log("d", " ## Process layers job still busy, trying later")
|
||||||
self._invokeSlice()
|
|
||||||
return
|
return
|
||||||
|
|
||||||
# see if we really have to slice
|
# see if we really have to slice
|
||||||
@ -214,7 +213,6 @@ class CuraEngineBackend(QObject, Backend):
|
|||||||
num_objects = self._numObjects()
|
num_objects = self._numObjects()
|
||||||
if build_plate_to_be_sliced not in num_objects or num_objects[build_plate_to_be_sliced] == 0:
|
if build_plate_to_be_sliced not in num_objects or num_objects[build_plate_to_be_sliced] == 0:
|
||||||
Logger.log("d", "Build plate %s has 0 objects to be sliced, skipping", build_plate_to_be_sliced)
|
Logger.log("d", "Build plate %s has 0 objects to be sliced, skipping", build_plate_to_be_sliced)
|
||||||
self._invokeSlice()
|
|
||||||
return
|
return
|
||||||
|
|
||||||
self._stored_layer_data = []
|
self._stored_layer_data = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user