From 2ccb443c2f515b98d7a6e6ce99035b036cf173be Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 6 Jun 2012 19:38:35 +0200 Subject: [PATCH] Bugfix: not retracting between infill of different islands using low infill densities. #242 --- lib/Slic3r/Extruder.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Extruder.pm b/lib/Slic3r/Extruder.pm index 555c4586cc..3a4a4089a1 100644 --- a/lib/Slic3r/Extruder.pm +++ b/lib/Slic3r/Extruder.pm @@ -130,7 +130,7 @@ sub extrude_path { my $distance_from_last_pos = $self->last_pos->distance_to($path->points->[0]) * $Slic3r::scaling_factor; my $distance_threshold = $Slic3r::retract_before_travel; $distance_threshold = 2 * ($self->layer ? $self->layer->flow->width : $Slic3r::flow->width) / $Slic3r::fill_density * sqrt(2) - if $Slic3r::fill_density > 0 && $description =~ /fill/; + if 0 && $Slic3r::fill_density > 0 && $description =~ /fill/; if ($distance_from_last_pos >= $distance_threshold) { $gcode .= $self->retract(travel_to => $path->points->[0]);