Remove ignoreLineWidth assert in PAD::TransformShapeToPolygon

The parameter is unused in the pad implementation and inherited from
the BOARD_ITEM virtual interface. Callers may pass any value without
consequence.

Resolves KICAD-130R
This commit is contained in:
Seth Hillbrand
2026-02-15 07:21:14 -08:00
parent 2d7182ab6b
commit e027a2aacc
-1
View File
@@ -2504,7 +2504,6 @@ bool PAD::TransformHoleToPolygon( SHAPE_POLY_SET& aBuffer, int aClearance, int a
void PAD::TransformShapeToPolygon( SHAPE_POLY_SET& aBuffer, PCB_LAYER_ID aLayer, int aClearance,
int aMaxError, ERROR_LOC aErrorLoc, bool ignoreLineWidth ) const
{
wxASSERT_MSG( !ignoreLineWidth, wxT( "IgnoreLineWidth has no meaning for pads." ) );
wxASSERT_MSG( aLayer != UNDEFINED_LAYER,
wxT( "UNDEFINED_LAYER is no longer allowed for PAD::TransformShapeToPolygon" ) );