Follow-up of d07b3fb08b -> Show current bed shape for custom bed in bed shape dialog

This commit is contained in:
Enrico Turri 2019-07-02 15:10:59 +02:00
parent 136e5156bc
commit 2a71665de9

View File

@ -234,8 +234,8 @@ void BedShapePanel::set_shape(ConfigOptionPoints* points)
// This is a custom bed shape, use the polygon provided.
m_shape_options_book->SetSelection(SHAPE_CUSTOM);
// Copy the polygon to the canvas, make a copy of the array.
m_canvas->m_bed_shape = points->values;
update_shape();
m_loaded_bed_shape = points->values;
update_shape();
}
void BedShapePanel::update_preview()