Wipe tower priming lines are placed at origin with custom bed shapes

Custom shapes were previously detected as circular and the lines were placed off the bed
This commit is contained in:
Lukas Matena 2021-04-26 09:21:16 +02:00
parent 9f4e9da5c6
commit 5783cc62fb
2 changed files with 19 additions and 4 deletions

View file

@ -277,7 +277,8 @@ private:
// Bed properties
enum {
RectangularBed,
CircularBed
CircularBed,
CustomBed
} m_bed_shape;
float m_bed_width; // width of the bed bounding box
Vec2f m_bed_bottom_left; // bottom-left corner coordinates (for rectangular beds)