Commit 347649e8 authored by Maciej Suminski's avatar Maciej Suminski

Protection against non consecutive net codes.

parent 0b9a8709
...@@ -66,6 +66,9 @@ public: ...@@ -66,6 +66,9 @@ public:
for( unsigned int i = 0; i < aBoard->GetNetCount(); i++ ) for( unsigned int i = 0; i < aBoard->GetNetCount(); i++ )
{ {
NETINFO_ITEM* ni = aBoard->FindNet( i ); NETINFO_ITEM* ni = aBoard->FindNet( i );
if( ni == NULL )
continue;
wxString netClassName = ni->GetClassName(); wxString netClassName = ni->GetClassName();
NETCLASS* nc = aBoard->m_NetClasses.Find( netClassName ); NETCLASS* nc = aBoard->m_NetClasses.Find( netClassName );
int clearance = nc->GetClearance(); int clearance = nc->GetClearance();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment