diff --git a/pcbnew/ratsnest_data.cpp b/pcbnew/ratsnest_data.cpp index 7349e6264f..3086feb12d 100644 --- a/pcbnew/ratsnest_data.cpp +++ b/pcbnew/ratsnest_data.cpp @@ -1182,9 +1182,10 @@ void RN_DATA::Recalculate( int aNet ) if( netCount > m_nets.size() ) m_nets.resize( netCount ); - if( aNet < 0 ) // Recompute everything + if( aNet < 0 && netCount > 1 ) // Recompute everything { unsigned int i; + #ifdef USE_OPENMP #pragma omp parallel shared(netCount) private(i) {