Fix QA DRC regression test issue.

This commit is contained in:
Wayne Stambaugh 2024-05-07 16:20:22 -04:00
parent 9e1a5eb1bd
commit f1e8495dc9
1 changed files with 1 additions and 1 deletions

View File

@ -1820,7 +1820,7 @@ std::vector<const PAD*> FOOTPRINT::GetPads( const wxString& aPadNumber, const PA
for( const PAD* pad : m_pads )
{
if( aIgnore && aIgnore == pad )
if( ( aIgnore && aIgnore == pad ) || ( pad->GetNumber() != aPadNumber ) )
continue;
retv.push_back( pad );