Eagle PCB importer: changed m_Track.Insert() to m_Track.PushBack()
The latter better reflects the intention.
This commit is contained in:
parent
a3770bf6e1
commit
ef698384a7
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue