Skip to content

Commit

Permalink
Make sure print beds are level
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Jun 25, 2023
1 parent c0a78b8 commit 9ccd56c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ public ArrayList<CSG> makePrintBeds() {
String name = bit.getName();
int index = bit.getPrintBedIndex();
bit = bit.prepForManufacturing();
if(bit.getMinZ()<0)
bit=bit.toZMin();
if (bit != null && name.length()>0) {
if(bit.getMinZ()<0)
bit=bit.toZMin();
if (beds.get(index) == null) {
beds.put(index, new ArrayList<CSG>());
}
Expand Down

0 comments on commit 9ccd56c

Please sign in to comment.