From 9b5d17dfbd0a105def3bf9176c2fd3356aec67a2 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Fri, 1 Apr 2022 08:28:58 +0200 Subject: [PATCH] Follow-up of e01d32d01afec11dd1b149fc983a15f2875a36d4 - Fixed typo --- src/libslic3r/ExPolygon.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/ExPolygon.hpp b/src/libslic3r/ExPolygon.hpp index c0dcac105..cbf6b1c1a 100644 --- a/src/libslic3r/ExPolygon.hpp +++ b/src/libslic3r/ExPolygon.hpp @@ -172,7 +172,7 @@ inline Polylines to_polylines(ExPolygon &&src) for (auto ith = src.holes.begin(); ith != src.holes.end(); ++ith) { Polyline &pl = polylines[idx ++]; pl.points = std::move(ith->points); - pl.points.push_back(p1.points.front()); + pl.points.push_back(pl.points.front()); } assert(idx == polylines.size()); return polylines;