Ratsnest fix (GAL).

This commit is contained in:
Maciej Suminski 2015-07-02 11:25:59 +02:00
parent 5c7f073a28
commit d3e276387d
2 changed files with 2 additions and 4 deletions

View File

@ -2552,8 +2552,6 @@ void BOARD::ReplaceNetlist( NETLIST& aNetlist, bool aDeleteSinglePadNets,
pad->SetNetCode( NETINFO_LIST::UNCONNECTED ); pad->SetNetCode( NETINFO_LIST::UNCONNECTED );
} }
m_ratsnest->ProcessBoard();
// Last step: Some tests: // Last step: Some tests:
// verify all pads found in netlist: // verify all pads found in netlist:
// They should exist in footprints, otherwise the footprint is wrong // They should exist in footprints, otherwise the footprint is wrong

View File

@ -137,12 +137,12 @@ void PCB_EDIT_FRAME::ReadPcbNetlist( const wxString& aNetlistFileName,
RemoveMisConnectedTracks(); RemoveMisConnectedTracks();
} }
Compile_Ratsnest( NULL, true );
// Rebuild the board connectivity: // Rebuild the board connectivity:
if( IsGalCanvasActive() ) if( IsGalCanvasActive() )
board->GetRatsnest()->ProcessBoard(); board->GetRatsnest()->ProcessBoard();
Compile_Ratsnest( NULL, true );
SetMsgPanel( board ); SetMsgPanel( board );
m_canvas->Refresh(); m_canvas->Refresh();
} }