From e6b59aef4ea8ba24ec73a98ba9caf7139a93747b Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 13 Oct 2013 16:07:14 +0200 Subject: [PATCH] Fix planepath fill patterns for very small regions. #1463 --- lib/Slic3r/Fill/PlanePath.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Fill/PlanePath.pm b/lib/Slic3r/Fill/PlanePath.pm index 059831640..c911b8980 100644 --- a/lib/Slic3r/Fill/PlanePath.pm +++ b/lib/Slic3r/Fill/PlanePath.pm @@ -36,7 +36,7 @@ sub fill_surface { my $polyline = Slic3r::Polyline->new( map [ map {$_*$distance_between_lines} $path->n_to_xy($_) ], @n, ); - return {} if !@$polyline; + return {} if @$polyline <= 1; $self->process_polyline($polyline, $bounding_box);