PCB_TEXT::TransformTextToPolySet() fix a typo that can creates a *lot* of
segments in polygon. Fixes #15161 https://gitlab.com/kicad/code/kicad/-/issues/15161
This commit is contained in:
parent
171c44507a
commit
10efb6e55a
|
@ -352,7 +352,10 @@ void PCB_TEXT::TransformTextToPolySet( SHAPE_POLY_SET& aBuffer, int aClearance,
|
|||
else
|
||||
{
|
||||
if( aClearance > 0 )
|
||||
textShape.Inflate( aClearance, aClearance );
|
||||
{
|
||||
const int arc2segmentCount = 16;
|
||||
textShape.Inflate( aClearance, arc2segmentCount );
|
||||
}
|
||||
|
||||
aBuffer.Append( textShape );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue