Bugfix: more errors in infills after refactoring. #162

This commit is contained in:
Alessandro Ranellucci 2012-01-11 23:19:56 +01:00
parent 8735ac3c57
commit b605381132
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ sub fill_surface {
# clip the path to avoid the extruder to get exactly on the first point of the loop
$path->clip_end(scale $Slic3r::nozzle_diameter / 2);
push @paths, $path->p if @{$path->points};
push @paths, $path if @{$path->points};
}
return { flow_spacing => $flow_spacing }, @paths;

View file

@ -58,7 +58,7 @@ sub fill_surface {
);
}
@paths = map $_->p, @paths;
@paths = map $_, @paths;
# paths must be rotated back
$self->rotate_points_back(\@paths, $rotate_vector);