mirror of https://github.com/vitalif/Slic3r
Bugfix: with 0 solid layers, no infill was generated at all on fist and last layer. #325
parent
e7d609db12
commit
2c28d2f874
|
@ -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 New Issue