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( 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() )
|
||||||
|
|
Loading…
Reference in New Issue