Browse Source

Zone filled, non copper zones: fix missing inflate for non stroked solid areas.

pull/15/head
jean-pierre charras 6 years ago
parent
commit
164d40f235
  1. 9
      pcbnew/zone_filler.cpp

9
pcbnew/zone_filler.cpp

@ -851,6 +851,15 @@ bool ZONE_FILLER::fillSingleZone( ZONE_CONTAINER* aZone, SHAPE_POLY_SET& aRawPol
if( aZone->GetFillMode() == ZFM_HATCH_PATTERN )
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;
aFinalPolys = smoothedPoly;

Loading…
Cancel
Save