Browse Source

Prevent assert when saving vias

pcb_db
Jon Evans 1 year ago
parent
commit
e50a18d21c
  1. 2
      pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.cpp

2
pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.cpp

@ -2452,7 +2452,7 @@ void PCB_IO_KICAD_SEXPR::format( const PCB_TRACK* aTrack, int aNestLevel ) const
m_out->Print( 0, " (at %s) (size %s)",
formatInternalUnits( aTrack->GetStart() ).c_str(),
formatInternalUnits( aTrack->GetWidth() ).c_str() );
formatInternalUnits( via->GetWidth( F_Cu ) ).c_str() );
// Old boards were using UNDEFINED_DRILL_DIAMETER value in file for via drill when
// via drill was the netclass value.

Loading…
Cancel
Save