From 026bc801e33778ebc5500ad0a3aac9437bca181f Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 7 Jan 2019 12:20:48 +0100 Subject: [PATCH] Fix of #1505, #1541 Fixed a regression issue in initialization of the "Avoid external perimeters" feature. --- src/libslic3r/GCode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 1134b383f0..9225b2bea7 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -809,7 +809,7 @@ void GCode::_do_export(Print &print, FILE *file) for (const ExPolygon &expoly : layer->slices.expolygons) for (const Point © : object->copies()) { islands.emplace_back(expoly.contour); - islands.back().translate(- copy); + islands.back().translate(copy); } //FIXME Mege the islands in parallel. m_avoid_crossing_perimeters.init_external_mp(union_ex(islands));