Report all extra footprints, even if they're duplicates.
Fixes https://gitlab.com/kicad/code/kicad/issues/5303
This commit is contained in:
parent
6a5644d981
commit
f95651841e
|
@ -76,7 +76,7 @@ void TestFootprints( NETLIST& aNetlist, BOARD* aBoard, std::vector<std::shared_p
|
|||
if( !aBoard->GetDesignSettings().Ignore( DRCE_EXTRA_FOOTPRINT ) )
|
||||
{
|
||||
// Search for component footprints found on board but not in netlist.
|
||||
for( auto module : mods )
|
||||
for( MODULE* module : aBoard->Modules() )
|
||||
{
|
||||
COMPONENT* component = aNetlist.GetComponentByReference( module->GetReference() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue