mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 18:39:06 +08:00
Bugfix: with 0 solid layers, no infill was generated at all on fist and last layer. #325
This commit is contained in:
parent
e7d609db12
commit
2c28d2f874
@ -342,7 +342,7 @@ sub prepare_fill_surfaces {
|
|||||||
|
|
||||||
# remove top/bottom surfaces
|
# remove top/bottom surfaces
|
||||||
if ($Slic3r::solid_layers == 0) {
|
if ($Slic3r::solid_layers == 0) {
|
||||||
@surfaces = grep $_->surface_type == S_TYPE_INTERNAL, @surfaces;
|
$_->surface_type(S_TYPE_INTERNAL) for grep $_->surface_type != S_TYPE_INTERNAL, @surfaces;
|
||||||
}
|
}
|
||||||
|
|
||||||
# remove internal surfaces
|
# remove internal surfaces
|
||||||
|
Loading…
x
Reference in New Issue
Block a user