From 9670f2b712c509487235bd97dda859cf2c55ec97 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Fri, 12 May 2017 19:25:58 +0200 Subject: [PATCH] Fixed typo causing test failure --- xs/src/libslic3r/MotionPlanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/libslic3r/MotionPlanner.cpp b/xs/src/libslic3r/MotionPlanner.cpp index 7a6efa10c..c63ea2338 100644 --- a/xs/src/libslic3r/MotionPlanner.cpp +++ b/xs/src/libslic3r/MotionPlanner.cpp @@ -40,7 +40,7 @@ MotionPlanner::initialize() // loop through islands in order to create inner expolygons and collect their contours Polygons outer_holes; - for (MotionPlannerEnv island : this->islands) { + for (MotionPlannerEnv &island : this->islands) { // generate the internal env boundaries by shrinking the island // we'll use these inner rings for motion planning (endpoints of the Voronoi-based // graph, visibility check) in order to avoid moving too close to the boundaries