CURA-4525 remove initial 'Unable to slice'

This commit is contained in:
Jack Ha 2018-01-08 14:00:06 +01:00
parent 164e5fdc8e
commit c1cb86a334

View file

@ -217,7 +217,8 @@ class CuraEngineBackend(QObject, Backend):
self._scene.gcode_list[build_plate_to_be_sliced] = []
Logger.log("d", "Build plate %s has no objects to be sliced, skipping", build_plate_to_be_sliced)
if self._build_plates_to_be_sliced:
return self.slice()
self.slice()
return
self._stored_layer_data = []
self._stored_optimized_layer_data[build_plate_to_be_sliced] = []