plotting: When aggregating areas, heal first
The fracture routine introduces degenerate points that are healed by the Clipper Polygon simplify command. This is normally fine but in the case of hatched areas, there are thousands of degenerate points, which is very slow in Clipper. Healing the degenerate points first before simplifying and fracturing is much faster. Fixes: lp:1847764 * https://bugs.launchpad.net/kicad/+bug/1847764
This commit is contained in:
parent
337244d423
commit
e291576c38
|
@ -605,7 +605,7 @@ void PlotStandardLayer( BOARD *aBoard, PLOTTER* aPlotter,
|
|||
|
||||
if( needFracture )
|
||||
{
|
||||
aggregateArea.Simplify( SHAPE_POLY_SET::PM_STRICTLY_SIMPLE );
|
||||
aggregateArea.Unfracture( SHAPE_POLY_SET::PM_STRICTLY_SIMPLE );
|
||||
aggregateArea.Fracture( SHAPE_POLY_SET::PM_STRICTLY_SIMPLE );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue