Honour NOT_IN_SCHEMATIC setting.
Fixes https://gitlab.com/kicad/code/kicad/issues/6137
This commit is contained in:
parent
713515907a
commit
01ce881340
|
@ -193,6 +193,9 @@ void DRC_TEST_PROVIDER_LVS::testFootprints( NETLIST& aNetlist )
|
|||
if( m_drcEngine->IsErrorLimitExceeded( DRCE_EXTRA_FOOTPRINT ) )
|
||||
break;
|
||||
|
||||
if( module->GetAttributes() & MOD_BOARD_ONLY )
|
||||
continue;
|
||||
|
||||
if( !aNetlist.GetComponentByReference( module->GetReference() ) )
|
||||
{
|
||||
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_EXTRA_FOOTPRINT );
|
||||
|
|
Loading…
Reference in New Issue