Don't start slicing again if you can't slice

Contributes to issue CURA-4766.
This commit is contained in:
Ghostkeeper 2018-01-05 13:33:40 +01:00
parent b20c6c6ac7
commit fefb20deb7
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -204,7 +204,6 @@ class CuraEngineBackend(QObject, Backend):
if self._process_layers_job:
Logger.log("d", " ## Process layers job still busy, trying later")
self._invokeSlice()
return
# see if we really have to slice
@ -214,7 +213,6 @@ class CuraEngineBackend(QObject, Backend):
num_objects = self._numObjects()
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)
self._invokeSlice()
return
self._stored_layer_data = []