mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Yet other things not changed when refactored. #163
This commit is contained in:
@@ -43,7 +43,7 @@ sub fill_surface {
|
||||
my $polyline = Slic3r::Polyline->new([
|
||||
map [ map {$_*$distance_between_lines} $path->n_to_xy($_) ], @n,
|
||||
]);
|
||||
return {} if !@{$polyline->points};
|
||||
return {} if !@$polyline;
|
||||
|
||||
$self->process_polyline($polyline, $bounding_box);
|
||||
|
||||
@@ -58,8 +58,6 @@ sub fill_surface {
|
||||
);
|
||||
}
|
||||
|
||||
@paths = map $_, @paths;
|
||||
|
||||
# paths must be rotated back
|
||||
$self->rotate_points_back(\@paths, $rotate_vector);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user