Prevent crashes from edge cases when slicing complex small model with "big" fuzzy skin is used

This commit is contained in:
SoftFever 2024-03-17 20:34:02 +08:00
parent afabd955ac
commit d88dda8131
2 changed files with 2 additions and 0 deletions

View file

@ -405,6 +405,7 @@ static ExtrusionEntityCollection traverse_loops(const PerimeterGenerator &perime
// Reapply the nearest point search for starting point.
// We allow polyline reversal because Clipper may have randomly reversed polylines during clipping.
if(paths.empty()) continue;
chain_and_reorder_extrusion_paths(paths, &paths.front().first_point());
// smothing the overhang degree
// merge small path between paths which have same overhang degree