Selective cherry-pick from 13935399a5

This commit is contained in:
Jeff Young 2024-01-20 22:38:01 +00:00
parent 51023a1ae4
commit c855702918
1 changed files with 10 additions and 10 deletions

View File

@ -109,9 +109,8 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
if( footprint == nullptr ) if( footprint == nullptr )
{ {
if( m_drcEngine->IsErrorLimitExceeded( DRCE_MISSING_FOOTPRINT ) ) if( !m_drcEngine->IsErrorLimitExceeded( DRCE_MISSING_FOOTPRINT ) )
break; {
wxString msg; wxString msg;
msg.Printf( _( "Missing footprint %s (%s)" ), msg.Printf( _( "Missing footprint %s (%s)" ),
component->GetReference(), component->GetReference(),
@ -122,6 +121,7 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
drcItem->SetErrorMessage( msg ); drcItem->SetErrorMessage( msg );
reportViolation( drcItem, wxPoint(), UNDEFINED_LAYER ); reportViolation( drcItem, wxPoint(), UNDEFINED_LAYER );
} }
}
else else
{ {
for( PAD* pad : footprint->Pads() ) for( PAD* pad : footprint->Pads() )