triangulation: Fracture/Simplify all polygons
Calls the simplify/fracture polygon code on any polygon prior to tesselation. This avoids issues with degenerate polygons where the degenerate points are not sequential. Fixes: lp:1790534 * https://bugs.launchpad.net/kicad/+bug/1790534
This commit is contained in:
parent
f85b1479aa
commit
73c2297144
|
@ -1908,7 +1908,6 @@ void SHAPE_POLY_SET::CacheTriangulation()
|
|||
|
||||
SHAPE_POLY_SET tmpSet = *this;
|
||||
|
||||
if( tmpSet.HasHoles() )
|
||||
tmpSet.Fracture( PM_FAST );
|
||||
|
||||
m_triangulatedPolys.clear();
|
||||
|
|
Loading…
Reference in New Issue