Eagle PCB importer: changed m_Track.Insert() to m_Track.PushBack()

The latter better reflects the intention.
This commit is contained in:
Maciej Suminski 2018-05-04 15:56:44 +02:00
parent a3770bf6e1
commit ef698384a7
1 changed files with 3 additions and 3 deletions

View File

@ -1879,7 +1879,7 @@ void EAGLE_PLUGIN::loadSignals( wxXmlNode* aSignals )
t->SetLayer( layer );
t->SetNetCode( netCode );
m_board->m_Track.Insert( t, NULL );
m_board->m_Track.PushBack( t );
start = end;
angle -= delta_angle;
@ -1894,7 +1894,7 @@ void EAGLE_PLUGIN::loadSignals( wxXmlNode* aSignals )
t->SetLayer( layer );
t->SetNetCode( netCode );
m_board->m_Track.Insert( t, NULL );
m_board->m_Track.PushBack( t );
}
else
{
@ -1918,7 +1918,7 @@ void EAGLE_PLUGIN::loadSignals( wxXmlNode* aSignals )
int kidiam;
int drillz = v.drill.ToPcbUnits();
VIA* via = new VIA( m_board );
m_board->m_Track.Insert( via, NULL );
m_board->m_Track.PushBack( via );
via->SetLayerPair( layer_front_most, layer_back_most );