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
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ sub prepare_fill_surfaces {
|
|||
|
||||
# remove top/bottom surfaces
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue