Fixed regression preventing arcs to be generated at all (center detection is still buggy)

This commit is contained in:
Alessandro Ranellucci 2012-06-07 19:53:27 +02:00
parent c0c53c4397
commit 0c4b112718
3 changed files with 8 additions and 2 deletions

View file

@ -120,7 +120,10 @@ sub extrude_path {
# detect arcs
if ($Slic3r::gcode_arcs && !$recursive) {
my $gcode = "";
$gcode .= $self->extrude_path($_, $description, 1) for $path->detect_arcs;
foreach my $arc_path ($path->detect_arcs) {
$arc_path->deserialize;
$gcode .= $self->extrude_path($arc_path, $description, 1);
}
return $gcode;
}