Restore thin walls and thin fills after last commit

This commit is contained in:
Alessandro Ranellucci 2012-07-20 15:02:25 +02:00
parent e71472e5d7
commit bce2663ed8
4 changed files with 13 additions and 18 deletions

View file

@ -604,8 +604,12 @@ sub write_gcode {
$gcode .= $gcodegen->set_tool($Slic3r::infill_extruder-1);
$gcode .= $gcodegen->set_acceleration($Slic3r::infill_acceleration);
for my $fill (@{ $layer->fills }) {
$gcode .= $gcodegen->extrude($_, 'fill')
for $fill->shortest_path($gcodegen->last_pos);
if ($fill->isa('Slic3r::ExtrusionPath::Collection')) {
$gcode .= $gcodegen->extrude($_, 'fill')
for $fill->shortest_path($gcodegen->last_pos);
} else {
$gcode .= $gcodegen->extrude($fill, 'fill') ;
}
}
# extrude support material