mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 01:30:40 +08:00
Ported clean_instance_thumbnails
This commit is contained in:
parent
18a5fb81b0
commit
6f3f231cb9
@ -97,6 +97,10 @@ void Plate2D::repaint(wxPaintEvent& e) {
|
||||
}
|
||||
|
||||
|
||||
void Plate2D::clean_instance_thumbnails() {
|
||||
for (auto& obj : this->objects) {
|
||||
obj.instance_thumbnails.clear();
|
||||
}
|
||||
}
|
||||
|
||||
void Plate2D::mouse_drag(wxMouseEvent& e) {
|
||||
|
@ -119,6 +119,9 @@ private:
|
||||
return this->point_to_model_units(pt.x, pt.y);
|
||||
}
|
||||
|
||||
/// Remove all instance thumbnails.
|
||||
void clean_instance_thumbnails();
|
||||
|
||||
};
|
||||
|
||||
} } // Namespace Slic3r::GUI
|
||||
|
Loading…
x
Reference in New Issue
Block a user