From e2cb40766b91e73f0e31b13df2f86b762d8ca4e5 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Thu, 12 Sep 2013 11:16:11 +0200 Subject: [PATCH] Fix two more Boost calls after xsdata merge. #1429 --- lib/Slic3r/GCode.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/GCode.pm b/lib/Slic3r/GCode.pm index 819f813bc..53d6eabe0 100644 --- a/lib/Slic3r/GCode.pm +++ b/lib/Slic3r/GCode.pm @@ -180,7 +180,7 @@ sub extrude_loop { } my @candidates = (); if ($Slic3r::Config->start_perimeters_at_non_overhang) { - @candidates = grep !Boost::Geometry::Utils::point_covered_by_multi_polygon($_, $self->_layer_overhangs), @concave; + @candidates = grep !Boost::Geometry::Utils::point_covered_by_multi_polygon($_->pp, $self->_layer_overhangs), @concave; } if (!@candidates) { # if none, look for any concave vertex @@ -188,7 +188,7 @@ sub extrude_loop { if (!@candidates) { # if none, look for any non-overhang vertex if ($Slic3r::Config->start_perimeters_at_non_overhang) { - @candidates = grep !Boost::Geometry::Utils::point_covered_by_multi_polygon($_, $self->_layer_overhangs), @{$polygon}; + @candidates = grep !Boost::Geometry::Utils::point_covered_by_multi_polygon($_->pp, $self->_layer_overhangs), @{$polygon}; } if (!@candidates) { # if none, all points are valid candidates