mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-04-06 00:32:05 +02:00
Bugfix: removed error when filling small regions
This commit is contained in:
@@ -122,7 +122,7 @@ sub make_fill {
|
||||
flow_ratio => $flow_ratio * ($params->{flow_ratio} || 1),
|
||||
), @paths,
|
||||
],
|
||||
);
|
||||
) if @paths;
|
||||
###$layer->fills->[-1]->cleanup;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user