mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
Bugfix: removed error when filling small regions
This commit is contained in:
parent
2ba513bdb2
commit
313f77ee59
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ sub fill_surface {
|
|||
my $polyline = Slic3r::Polyline->cast([
|
||||
map [ map {$_*$distance_between_lines} $path->n_to_xy($_) ], @n,
|
||||
]);
|
||||
return [] if !@{$polyline->points};
|
||||
return {} if !@{$polyline->points};
|
||||
|
||||
$self->process_polyline($polyline, $bounding_box);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue