Fix zone fill issue with net ties

A mistake in the cherry-pick for a previous commit prevented footprint
graphics from being knocked out in the zone fill.  This sets the default
to knockout, allowing the assertion from the polygon generation routine
to catch invalid codes

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15069
This commit is contained in:
Seth Hillbrand 2023-06-27 12:33:53 -07:00
parent 9098a7c128
commit 3926173dfe
1 changed files with 1 additions and 5 deletions

View File

@ -879,14 +879,10 @@ void ZONE_FILLER::addKnockout( BOARD_ITEM* aItem, PCB_LAYER_ID aLayer, int aGap,
break; break;
} }
case PCB_SHAPE_T: default:
case PCB_TARGET_T:
aItem->TransformShapeToPolygon( aHoles, aLayer, aGap, m_maxError, ERROR_OUTSIDE, aItem->TransformShapeToPolygon( aHoles, aLayer, aGap, m_maxError, ERROR_OUTSIDE,
aIgnoreLineWidth ); aIgnoreLineWidth );
break; break;
default:
break;
} }
} }