From ab5e01d114d7fcb705e8918bc2bdc40e1e66a4ef Mon Sep 17 00:00:00 2001 From: bubnikv Date: Fri, 15 Apr 2016 17:51:11 +0200 Subject: [PATCH] Adapted to the new infills. New infills process a not yet shrunk expolygon. --- lib/Slic3r/Fill.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Slic3r/Fill.pm b/lib/Slic3r/Fill.pm index 68a897105..ec9038b12 100644 --- a/lib/Slic3r/Fill.pm +++ b/lib/Slic3r/Fill.pm @@ -219,11 +219,11 @@ sub make_fill { $f->set_loop_clipping(scale($flow->nozzle_diameter) * &Slic3r::LOOP_CLIPPING_LENGTH_OVER_NOZZLE_DIAMETER); # apply half spacing using this flow's own spacing and generate infill - my @polylines = map $f->fill_surface( - $_, + my @polylines = $f->fill_surface( + $surface, density => $density/100, layer_height => $h, - ), @{ $surface->offset(-scale($f->spacing)/2) }; + ); next unless @polylines;