From eea6d843145745fd97bd7b021341415f38aebfc8 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 27 Jun 2012 19:55:54 +0200 Subject: [PATCH] Bugfix: infill extrusion width was ignored --- lib/Slic3r/Fill.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/Fill.pm b/lib/Slic3r/Fill.pm index 6d79a1c94..58284634a 100644 --- a/lib/Slic3r/Fill.pm +++ b/lib/Slic3r/Fill.pm @@ -99,7 +99,7 @@ sub make_fill { # add spacing between adjacent surfaces { - my $distance = scale $layer->flow->spacing / 2; + my $distance = scale $layer->infill_flow->spacing / 2; my @offsets = (); foreach my $surface (@surfaces) { my $expolygon = $surface->expolygon; @@ -137,7 +137,7 @@ sub make_fill { SURFACE: foreach my $surface (@surfaces) { my $filler = $Slic3r::fill_pattern; my $density = $Slic3r::fill_density; - my $flow_spacing = $layer->flow->spacing; + my $flow_spacing = $layer->infill_flow->spacing; my $is_bridge = $layer->id > 0 && $surface->surface_type == S_TYPE_BOTTOM; my $is_solid = (grep { $surface->surface_type == $_ } S_TYPE_TOP, S_TYPE_BOTTOM, S_TYPE_INTERNALSOLID) ? 1 : 0;