Fix display of filled polygons with arcs in the outline
This commit is contained in:
parent
b291f36dae
commit
3103ff9aa3
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue