Disable retraction when moving over infill space. #29

This commit is contained in:
Alessandro Ranellucci 2011-11-21 12:37:12 +01:00
parent ed9b4e829c
commit d6ed9c6f34
2 changed files with 8 additions and 3 deletions

View file

@ -423,8 +423,11 @@ sub export_gcode {
# extrude fills
for my $fill (@{ $layer->fills }) {
printf $fh $extruder->extrude($_, 'fill')
for $fill->shortest_path($extruder->last_pos);
for ($fill->shortest_path($extruder->last_pos)) {
printf $fh $extruder->extrude($_, 'fill');
$extruder->enable_retraction(0);
}
$extruder->enable_retraction(1);
}
}