Fix display of filled polygons with arcs in the outline
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user