mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:36:01 +08:00
CURA-4525 allow for empty build plates between filled build plates
This commit is contained in:
parent
e638c21acb
commit
52b75b58e7
@ -215,8 +215,9 @@ 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:
|
||||||
self._scene.gcode_list[build_plate_to_be_sliced] = []
|
self._scene.gcode_list[build_plate_to_be_sliced] = []
|
||||||
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 no objects to be sliced, skipping", build_plate_to_be_sliced)
|
||||||
return
|
if self._build_plates_to_be_sliced:
|
||||||
|
self._invokeSlice()
|
||||||
|
|
||||||
self._stored_layer_data = []
|
self._stored_layer_data = []
|
||||||
self._stored_optimized_layer_data[build_plate_to_be_sliced] = []
|
self._stored_optimized_layer_data[build_plate_to_be_sliced] = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user