From c85570291815adb2b0f0076c135722d9b8754df6 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 20 Jan 2024 22:38:01 +0000 Subject: [PATCH] Selective cherry-pick from 13935399a54b738e5903bb2864006af1ebc5248a --- .../drc_test_provider_schematic_parity.cpp | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pcbnew/drc/drc_test_provider_schematic_parity.cpp b/pcbnew/drc/drc_test_provider_schematic_parity.cpp index 09529463cd..fe0466aede 100644 --- a/pcbnew/drc/drc_test_provider_schematic_parity.cpp +++ b/pcbnew/drc/drc_test_provider_schematic_parity.cpp @@ -109,18 +109,18 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist ) if( footprint == nullptr ) { - if( m_drcEngine->IsErrorLimitExceeded( DRCE_MISSING_FOOTPRINT ) ) - break; + if( !m_drcEngine->IsErrorLimitExceeded( DRCE_MISSING_FOOTPRINT ) ) + { + wxString msg; + msg.Printf( _( "Missing footprint %s (%s)" ), + component->GetReference(), + component->GetValue() ); - wxString msg; - msg.Printf( _( "Missing footprint %s (%s)" ), - component->GetReference(), - component->GetValue() ); + std::shared_ptr drcItem = DRC_ITEM::Create( DRCE_MISSING_FOOTPRINT ); - std::shared_ptr drcItem = DRC_ITEM::Create( DRCE_MISSING_FOOTPRINT ); - - drcItem->SetErrorMessage( msg ); - reportViolation( drcItem, wxPoint(), UNDEFINED_LAYER ); + drcItem->SetErrorMessage( msg ); + reportViolation( drcItem, wxPoint(), UNDEFINED_LAYER ); + } } else {