TRACK/SEGVIA cleanup
- SEGVIA becomes VIA - Drill size moved from TRACK to VIA - Removed shape from TRACK, becomes ViaType in VIA - GetTrace becomes GetTrack, for uniformity - Some minor constification and typo fixes
This commit is contained in:
@@ -685,11 +685,12 @@ void BRDITEMS_PLOTTER::PlotDrillMarks()
|
||||
|
||||
for( TRACK *pts = m_board->m_Track; pts != NULL; pts = pts->Next() )
|
||||
{
|
||||
if( pts->Type() != PCB_VIA_T )
|
||||
continue;
|
||||
const VIA *via = dynamic_cast<const VIA*>( pts );
|
||||
|
||||
plotOneDrillMark( PAD_DRILL_CIRCLE, pts->GetStart(), wxSize( pts->GetDrillValue(), 0 ),
|
||||
wxSize( pts->GetWidth(), 0 ), 0, small_drill );
|
||||
if( via )
|
||||
plotOneDrillMark( PAD_DRILL_CIRCLE, via->GetStart(),
|
||||
wxSize( via->GetDrillValue(), 0 ),
|
||||
wxSize( via->GetWidth(), 0 ), 0, small_drill );
|
||||
}
|
||||
|
||||
for( MODULE *Module = m_board->m_Modules; Module != NULL; Module = Module->Next() )
|
||||
|
||||
Reference in New Issue
Block a user