From 462fe51ffb4e47398dedd965ecb547bf2e708617 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Mon, 7 May 2018 21:30:05 -0500 Subject: [PATCH] Pass bool when we mean bool, not int. --- src/GUI/Plater/Plate2D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/Plater/Plate2D.cpp b/src/GUI/Plater/Plate2D.cpp index 89f047f7a..bd3cf10fb 100644 --- a/src/GUI/Plater/Plate2D.cpp +++ b/src/GUI/Plater/Plate2D.cpp @@ -127,7 +127,7 @@ void Plate2D::repaint(wxPaintEvent& e) { // no idea why. It doesn't look necessary, so skip the outer layer // and draw the contained 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); } }