|
|
@ -79,6 +79,8 @@ bool DRC_TEST_PROVIDER_CONNECTIVITY::Run() |
|
|
|
|
|
|
|
|
std::shared_ptr<CONNECTIVITY_DATA> connectivity = board->GetConnectivity(); |
|
|
std::shared_ptr<CONNECTIVITY_DATA> connectivity = board->GetConnectivity(); |
|
|
|
|
|
|
|
|
|
|
|
std::lock_guard<KISPINLOCK> lock( connectivity->GetLock() ); |
|
|
|
|
|
|
|
|
// Rebuild just in case. This really needs to be reliable.
|
|
|
// Rebuild just in case. This really needs to be reliable.
|
|
|
connectivity->Clear(); |
|
|
connectivity->Clear(); |
|
|
connectivity->Build( board, m_drcEngine->GetProgressReporter() ); |
|
|
connectivity->Build( board, m_drcEngine->GetProgressReporter() ); |
|
|
@ -149,7 +151,6 @@ bool DRC_TEST_PROVIDER_CONNECTIVITY::Run() |
|
|
if( !reportPhase( _( "Checking net connections..." ) ) ) |
|
|
if( !reportPhase( _( "Checking net connections..." ) ) ) |
|
|
return false; // DRC cancelled
|
|
|
return false; // DRC cancelled
|
|
|
|
|
|
|
|
|
connectivity->RecalculateRatsnest(); |
|
|
|
|
|
std::vector<CN_EDGE> edges; |
|
|
std::vector<CN_EDGE> edges; |
|
|
connectivity->GetUnconnectedEdges( edges ); |
|
|
connectivity->GetUnconnectedEdges( edges ); |
|
|
|
|
|
|
|
|
|