Fixes crash when there are no edges for a given net in the ratsnest.
This commit is contained in:
parent
fe97521bda
commit
e537480f1e
|
@ -240,7 +240,7 @@ void RN_NET::compute()
|
|||
|
||||
return;
|
||||
}
|
||||
else if( boardNodes.size() == 1 ) // This case is even simpler
|
||||
else if( boardNodes.size() <= 1 ) // This case is even simpler
|
||||
{
|
||||
m_rnEdges.reset( new std::vector<RN_EDGE_PTR>( 0 ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue