mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Fixed some issues caused by the multi buildplate system
This commit is contained in:
parent
f627c97a92
commit
516d7015e4
3 changed files with 11 additions and 5 deletions
|
@ -59,6 +59,8 @@ class CuraSceneController(QObject):
|
|||
for node in DepthFirstIterator(Application.getInstance().getController().getScene().getRoot()):
|
||||
if node.callDecoration("isSliceable"):
|
||||
build_plate_number = node.callDecoration("getBuildPlateNumber")
|
||||
if build_plate_number is None:
|
||||
build_plate_number = 0
|
||||
max_build_plate = max(build_plate_number, max_build_plate)
|
||||
return max_build_plate
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue