pcbnew: Do not save 'links' information

It is not parsed anyway and the new connectivity algorithm
does not calculate it.
This commit is contained in:
Maciej Suminski 2017-06-23 18:32:56 +02:00
parent ac688e688a
commit 544e944647
3 changed files with 0 additions and 10 deletions

View File

@ -427,13 +427,6 @@ const
}
unsigned int CONNECTIVITY_DATA::GetLinksCount() const
{
return 0;
assert( false );
}
unsigned int CONNECTIVITY_DATA::GetNodeCount( int aNet ) const
{
int sum = 0;

View File

@ -155,8 +155,6 @@ public:
*/
unsigned int GetUnconnectedCount() const;
unsigned int GetLinksCount() const;
unsigned int GetNodeCount( int aNet = -1 ) const;
unsigned int GetPadCount( int aNet = -1 ) const;

View File

@ -534,7 +534,6 @@ void PCB_IO::format( BOARD* aBoard, int aNestLevel ) const
m_out->Print( 0, "\n" );
m_out->Print( aNestLevel, "(general\n" );
m_out->Print( aNestLevel+1, "(links %d)\n", aBoard->GetConnectivity()->GetLinksCount() );
m_out->Print( aNestLevel+1, "(no_connects %d)\n", aBoard->GetConnectivity()->GetUnconnectedCount() );
// Write Bounding box info