From 32aafd2eb9c6135956ca8f7fa02c7ba0260e2c6b Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 16 Jun 2013 15:11:39 +0200 Subject: [PATCH] Temporary workaround until Boost::Geometry::Utils 0.14 is available --- lib/Slic3r/Fill/Honeycomb.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Fill/Honeycomb.pm b/lib/Slic3r/Fill/Honeycomb.pm index 8b452e8f1..15d62fe80 100644 --- a/lib/Slic3r/Fill/Honeycomb.pm +++ b/lib/Slic3r/Fill/Honeycomb.pm @@ -117,7 +117,7 @@ sub fill_surface { @{ Boost::Geometry::Utils::multi_polygon_multi_linestring_intersection( [ $surface->expolygon->offset_ex(scaled_epsilon) ], [ @paths ], - ) }; + ) } if @paths; # this temporary check is a workaround for the multilinestring bug in B::G::U } return { flow_spacing => $params{flow_spacing} }, @paths;