From c763f5fc816011d42d6ad19e4b0a67ba094b8945 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 28 Jul 2012 11:04:26 +0200 Subject: [PATCH] Bugfix: fatal error with thin loops after recent refactoring. #562 --- lib/Slic3r/Fill.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Fill.pm b/lib/Slic3r/Fill.pm index 152932da7..e30eec65f 100644 --- a/lib/Slic3r/Fill.pm +++ b/lib/Slic3r/Fill.pm @@ -185,7 +185,7 @@ sub make_fill { ); push @fills, map { $_->isa('Slic3r::Polygon') - ? Slic3r::ExtrusionLoop->pack(polygon => $_, %args)->split_at_first_point + ? (map $_->pack, Slic3r::ExtrusionLoop->new(polygon => $_, %args)->split_at_first_point) : Slic3r::ExtrusionPath->pack(polyline => $_, %args), } @{$layer->thin_fills}; }