Bugfix: more errors in infills after refactoring. #162
This commit is contained in:
parent
8735ac3c57
commit
b605381132
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue