Minor optimization in G-code export

This commit is contained in:
Alessandro Ranellucci 2014-12-29 17:40:56 +01:00
parent 1c0437bc7b
commit 9d5f55af77

View File

@ -220,7 +220,7 @@ sub extrude_loop {
$point->rotate($angle, $first_segment->a);
# generate the travel move
$gcode .= $self->travel_to($point, $paths[-1]->role, "move inwards before travel");
$gcode .= $self->writer->travel_to_xy($self->point_to_gcode($point), "move inwards before travel");
}
return $gcode;