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:
@@ -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" ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user