Fix a ratsnest assertion when selecting a copper connection between only 2 nodes.

This commit is contained in:
Maciej Suminski 2015-08-25 18:27:04 +02:00
parent f67c7fe052
commit a813deb579
1 changed files with 4 additions and 0 deletions

View File

@ -305,6 +305,10 @@ void RN_NET::compute()
m_rnEdges->push_back( boost::make_shared<RN_EDGE_MST>( *boardNodes.begin(), *last ) );
}
// Set tags to nodes as connected
BOOST_FOREACH( RN_NODE_PTR node, boardNodes )
node->SetTag( 0 );
return;
}