mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 09:55:55 +08:00
stupid bugfix
This commit is contained in:
parent
90b1cb7391
commit
85423aa3b7
@ -239,11 +239,11 @@ LayerRegion::prepare_fill_surfaces()
|
|||||||
// if no solid layers are requested, turn top/bottom surfaces to internal
|
// if no solid layers are requested, turn top/bottom surfaces to internal
|
||||||
if (this->region()->config.top_solid_layers == 0 && this->region()->config.min_top_bottom_shell_thickness <= 0) {
|
if (this->region()->config.top_solid_layers == 0 && this->region()->config.min_top_bottom_shell_thickness <= 0) {
|
||||||
for (Surface &surface : this->fill_surfaces.surfaces) {
|
for (Surface &surface : this->fill_surfaces.surfaces) {
|
||||||
if (surface->surface_type == stTop) {
|
if (surface.surface_type == stTop) {
|
||||||
if (this->layer()->object()->config.infill_only_where_needed) {
|
if (this->layer()->object()->config.infill_only_where_needed) {
|
||||||
surface->surface_type = (stInternal | stVoid);
|
surface.surface_type = (stInternal | stVoid);
|
||||||
} else {
|
} else {
|
||||||
surface->surface_type = stInternal;
|
surface.surface_type = stInternal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -251,8 +251,8 @@ LayerRegion::prepare_fill_surfaces()
|
|||||||
|
|
||||||
if (this->region()->config.bottom_solid_layers == 0 && this->region()->config.min_top_bottom_shell_thickness <= 0) {
|
if (this->region()->config.bottom_solid_layers == 0 && this->region()->config.min_top_bottom_shell_thickness <= 0) {
|
||||||
for (Surface &surface : this->fill_surfaces.surfaces) {
|
for (Surface &surface : this->fill_surfaces.surfaces) {
|
||||||
if (surface->is_bottom())
|
if (surface.is_bottom())
|
||||||
surface->surface_type = stInternal;
|
surface.surface_type = stInternal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user