mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
fix crashes
Signed-off-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
59bab91da9
commit
d6c4c4b46b
6 changed files with 22 additions and 13 deletions
|
@ -786,7 +786,7 @@ void Layer::make_ironing()
|
|||
// Check whether there is any non-solid hole in the regions.
|
||||
bool internal_infill_solid = region_config.sparse_infill_density.value > 95.;
|
||||
for (const Surface &surface : ironing_params.layerm->fill_surfaces.surfaces)
|
||||
if ((!internal_infill_solid && surface.surface_type == stInternal) || surface.surface_type == stInternalBridge || surface.surface_type == stInternalVoid || surface.surface_type==stInternalWithLoop) {
|
||||
if ((!internal_infill_solid && surface.surface_type == stInternal) || surface.surface_type == stInternalBridge || surface.surface_type == stInternalVoid) {
|
||||
// Some fill region is not quite solid. Don't iron over the whole surface.
|
||||
iron_completely = false;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue