Report all extra footprints, even if they're duplicates.

Fixes https://gitlab.com/kicad/code/kicad/issues/5303
This commit is contained in:
Jeff Young 2020-08-22 15:51:59 +01:00
parent 6a5644d981
commit f95651841e
1 changed files with 1 additions and 1 deletions

View File

@ -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() );