mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 17:00:42 +08:00
Remember to clean up old grid array before filling it up again.
This commit is contained in:
parent
babedbe7d6
commit
a7db378b8a
@ -258,6 +258,7 @@ void Plate2D::update_bed_size() {
|
||||
const auto& center = bb.center();
|
||||
this->print_center = wxPoint(unscale(center.x), unscale(center.y));
|
||||
|
||||
this->grid.clear(); // clear out the old grid
|
||||
// Cache bed contours and grid
|
||||
{
|
||||
const auto& step { scale_(10.0) }; // want a 10mm step for the lines
|
||||
|
Loading…
x
Reference in New Issue
Block a user