Fix display of filled polygons with arcs in the outline

This commit is contained in:
Jon Evans 2021-07-04 12:09:59 -04:00
parent b291f36dae
commit 3103ff9aa3
1 changed files with 3 additions and 1 deletions

View File

@ -2324,7 +2324,9 @@ void SHAPE_POLY_SET::CacheTriangulation( bool aPartition )
if( aPartition )
{
// This partitions into regularly-sized grids (1cm in pcbnew)
partitionPolyIntoRegularCellGrid( *this, 1e7, tmpSet );
SHAPE_POLY_SET flattened( *this );
flattened.ClearArcs();
partitionPolyIntoRegularCellGrid( flattened, 1e7, tmpSet );
}
else
{