Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-09-13 16:13:05 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-09-13 16:13:10 +0300
commitcab71073a1864e05582a480945bfb8d224219bdd (patch)
treecdd9ef673b87438a065c5293dc1bb1b14f543d10 /src/slic3r
parent60b5e0d0d5ead48d86bbdc78d48ede156d50a5e4 (diff)
Some reduction of unnecessary conversions when calling ClipperUtils.
Diffstat (limited to 'src/slic3r')
-rw-r--r--src/slic3r/GUI/2DBed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/2DBed.cpp b/src/slic3r/GUI/2DBed.cpp
index e184b43fc..e7c2cbe54 100644
--- a/src/slic3r/GUI/2DBed.cpp
+++ b/src/slic3r/GUI/2DBed.cpp
@@ -92,7 +92,7 @@ void Bed_2D::repaint(const std::vector<Vec2d>& shape)
for (auto y = bb.min(1) - fmod(bb.min(1), step) + step; y < bb.max(1); y += step) {
polylines.push_back(Polyline::new_scale({ Vec2d(bb.min(0), y), Vec2d(bb.max(0), y) }));
}
- polylines = intersection_pl(polylines, (Polygons)bed_polygon);
+ polylines = intersection_pl(polylines, bed_polygon);
dc.SetPen(wxPen(wxColour(230, 230, 230), 1, wxPENSTYLE_SOLID));
for (auto pl : polylines)