Browse Source

Remove overzealous assert (KICAD-MF5).

(It is still called when using global Edit Tracks & Vias
to set vias to netclass defaults.)
pull/18/head
Jeff Young 3 months ago
parent
commit
b35150abf7
  1. 2
      pcbnew/pcb_track.cpp

2
pcbnew/pcb_track.cpp

@ -378,8 +378,6 @@ void PCB_VIA::SetWidth( int aWidth )
int PCB_VIA::GetWidth() const
{
// This is present because of the parent class. It should never be actually called on a via.
wxASSERT_MSG( false, "Warning: PCB_VIA::GetWidth called without a layer argument" );
return m_padStack.Size( PADSTACK::ALL_LAYERS ).x;
}

Loading…
Cancel
Save