mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
ENH: fix empty infill layers
This is fix for github issue #216 that sometimes the infill layer is empty. Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Ie3be08b75506e48f5ae9dd6aae2ae729ba666e01
This commit is contained in:
parent
1b07874ea3
commit
d4854c0df7
5 changed files with 19 additions and 12 deletions
|
@ -763,7 +763,7 @@ void PerimeterGenerator::process()
|
|||
double(-inset - infill_peri_overlap));
|
||||
if (!top_fills.empty())
|
||||
polyWithoutOverlap = union_ex(polyWithoutOverlap, top_infill_exp);
|
||||
this->fill_no_overlap.insert(this->fill_no_overlap.end(), polyWithoutOverlap.begin(), polyWithoutOverlap.end());
|
||||
this->fill_no_overlap->insert(this->fill_no_overlap->end(), polyWithoutOverlap.begin(), polyWithoutOverlap.end());
|
||||
}
|
||||
|
||||
} // for each island
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue