mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 14:04:11 -06:00
Bugfix: solid-infill-below-area wasn't ignored when fill_density = 0, causing solid layers here and there. #1049
This commit is contained in:
parent
2f046799f2
commit
aae9625a13
2 changed files with 19 additions and 1 deletions
|
@ -462,7 +462,7 @@ sub prepare_fill_surfaces {
|
|||
}
|
||||
|
||||
# turn too small internal regions into solid regions according to the user setting
|
||||
{
|
||||
if ($Slic3r::Config->fill_density > 0) {
|
||||
my $min_area = scale scale $Slic3r::Config->solid_infill_below_area; # scaling an area requires two calls!
|
||||
my @small = grep $_->surface_type == S_TYPE_INTERNAL && $_->expolygon->contour->area <= $min_area, @{$self->fill_surfaces};
|
||||
$_->surface_type(S_TYPE_INTERNALSOLID) for @small;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue