diff --git a/pcbnew/plot_brditems_plotter.cpp b/pcbnew/plot_brditems_plotter.cpp index 92f5d8b490..bea7d1c644 100644 --- a/pcbnew/plot_brditems_plotter.cpp +++ b/pcbnew/plot_brditems_plotter.cpp @@ -296,15 +296,6 @@ void BRDITEMS_PLOTTER::PlotPad( const PAD* aPad, PCB_LAYER_ID aLayer, const COLO } case PAD_SHAPE::RECTANGLE: - { - const VECTOR2I& size = aPad->GetSize( aLayer ); - - m_plotter->ThickRect( VECTOR2I( shape_pos.x - ( size.x / 2 ), shape_pos.y - (size.y / 2 ) ), - VECTOR2I( shape_pos.x + ( size.x / 2 ), shape_pos.y + (size.y / 2 ) ), - GetSketchPadLineWidth(), nullptr ); - break; - } - case PAD_SHAPE::ROUNDRECT: case PAD_SHAPE::TRAPEZOID: case PAD_SHAPE::CHAMFERED_RECT: