Fix for incomplete commit causing thin gaps to throw an error

This commit is contained in:
Alessandro Ranellucci 2012-06-30 17:23:55 +02:00
parent b9008a99f9
commit cbb111ee64
3 changed files with 11 additions and 1 deletions

View file

@ -605,7 +605,7 @@ 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_path($_, 'fill')
$gcode .= $gcodegen->extrude($_, 'fill')
for $fill->shortest_path($gcodegen->last_pos);
}