mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 04:29:03 +08:00
Tiny optimization
This commit is contained in:
parent
fa41e15c68
commit
caa79583ff
@ -274,7 +274,7 @@ sub make_perimeters {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# fill gaps
|
# fill gaps
|
||||||
if ($Slic3r::Config->gap_fill_speed > 0 && $Slic3r::Config->fill_density > 0) {
|
if ($Slic3r::Config->gap_fill_speed > 0 && $Slic3r::Config->fill_density > 0 && @gaps) {
|
||||||
my $filler = Slic3r::Fill::Rectilinear->new(layer_id => $self->layer->id);
|
my $filler = Slic3r::Fill::Rectilinear->new(layer_id => $self->layer->id);
|
||||||
|
|
||||||
# we should probably use this code to handle thin walls and remove that logic from
|
# we should probably use this code to handle thin walls and remove that logic from
|
||||||
|
Loading…
x
Reference in New Issue
Block a user