mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-05-15 05:58:08 +08:00
Bugfix: more errors in infills after refactoring. #162
This commit is contained in:
parent
8735ac3c57
commit
b605381132
@ -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…
x
Reference in New Issue
Block a user