use infill flow spacing, not perimeter, for combine_infill() clip offsets

This commit is contained in:
Mike Sheldrake 2013-01-15 22:13:11 -08:00
parent bce3e96210
commit 85934e1738

View File

@ -509,8 +509,8 @@ sub combine_infill {
# offset for the two different flow spacings # offset for the two different flow spacings
$intersection = [ map $_->offset_ex( $intersection = [ map $_->offset_ex(
$lower_layerm->perimeter_flow->scaled_spacing / 2 $lower_layerm->infill_flow->scaled_spacing / 2
+ $layerm->perimeter_flow->scaled_spacing / 2 + $layerm->infill_flow->scaled_spacing / 2
), @$intersection]; ), @$intersection];
foreach my $depth (1..$Slic3r::Config->infill_every_layers) { foreach my $depth (1..$Slic3r::Config->infill_every_layers) {