Zone filled, non copper zones: fix missing inflate for non stroked solid areas.
This commit is contained in:
parent
243a8b6843
commit
164d40f235
|
@ -851,6 +851,15 @@ bool ZONE_FILLER::fillSingleZone( ZONE_CONTAINER* aZone, SHAPE_POLY_SET& aRawPol
|
||||||
if( aZone->GetFillMode() == ZFM_HATCH_PATTERN )
|
if( aZone->GetFillMode() == ZFM_HATCH_PATTERN )
|
||||||
addHatchFillTypeOnZone( aZone, smoothedPoly );
|
addHatchFillTypeOnZone( aZone, smoothedPoly );
|
||||||
|
|
||||||
|
// Re-inflate after pruning of areas that don't meet minimum-width criteria
|
||||||
|
if( aZone->GetFilledPolysUseThickness() )
|
||||||
|
{
|
||||||
|
// If we're stroking the zone with a min_width stroke then this will naturally
|
||||||
|
// inflate the zone by half_min_width
|
||||||
|
}
|
||||||
|
else if( half_min_width - epsilon > epsilon )
|
||||||
|
smoothedPoly.Deflate( -( half_min_width - epsilon ), numSegs );
|
||||||
|
|
||||||
aRawPolys = smoothedPoly;
|
aRawPolys = smoothedPoly;
|
||||||
aFinalPolys = smoothedPoly;
|
aFinalPolys = smoothedPoly;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue