Fix QA DRC regression test issue.
(cherry picked from commit f1e8495dc9
)
This commit is contained in:
parent
88e0d373d1
commit
cb93d2940c
|
@ -1575,7 +1575,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 );
|
||||
|
|
Loading…
Reference in New Issue