Naming conventions.

This commit is contained in:
Jeff Young 2021-11-25 14:51:36 +00:00
parent 5985a21b74
commit f9e1429c60
1 changed files with 3 additions and 3 deletions

View File

@ -1647,7 +1647,7 @@ void PNS_KICAD_IFACE::AddItem( PNS::ITEM* aItem )
void PNS_KICAD_IFACE::Commit()
{
std::set<FOOTPRINT*> processedMods;
std::set<FOOTPRINT*> processedFootprints;
EraseView();
@ -1659,10 +1659,10 @@ void PNS_KICAD_IFACE::Commit()
VECTOR2I p_orig = footprint->GetPosition();
VECTOR2I p_new = p_orig + offset;
if( processedMods.find( footprint ) != processedMods.end() )
if( processedFootprints.find( footprint ) != processedFootprints.end() )
continue;
processedMods.insert( footprint );
processedFootprints.insert( footprint );
m_commit->Modify( footprint );
footprint->SetPosition( wxPoint( p_new.x, p_new.y ) );
}