Selective cherry-pick from 13935399a5
This commit is contained in:
parent
51023a1ae4
commit
c855702918
|
@ -109,9 +109,8 @@ 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(),
|
||||
|
@ -122,6 +121,7 @@ void DRC_TEST_PROVIDER_SCHEMATIC_PARITY::testNetlist( NETLIST& aNetlist )
|
|||
drcItem->SetErrorMessage( msg );
|
||||
reportViolation( drcItem, wxPoint(), UNDEFINED_LAYER );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for( PAD* pad : footprint->Pads() )
|
||||
|
|
Loading…
Reference in New Issue