mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-08 07:46:32 +08:00
Pass bool when we mean bool, not int.
This commit is contained in:
parent
053fe2b9ed
commit
462fe51ffb
@ -127,7 +127,7 @@ void Plate2D::repaint(wxPaintEvent& e) {
|
|||||||
// no idea why. It doesn't look necessary, so skip the outer layer
|
// no idea why. It doesn't look necessary, so skip the outer layer
|
||||||
// and draw the contained expolygons
|
// and draw the contained expolygons
|
||||||
for (const auto& points : obj.instance_thumbnails.back().expolygons) {
|
for (const auto& points : obj.instance_thumbnails.back().expolygons) {
|
||||||
auto poly { this->scaled_points_to_pixel(Polygon(points), 1) };
|
auto poly { this->scaled_points_to_pixel(Polygon(points), true) };
|
||||||
dc->DrawPolygon(poly.size(), poly.data(), 0, 0);
|
dc->DrawPolygon(poly.size(), poly.data(), 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user