Fix QA DRC regression test issue.
This commit is contained in:
parent
9e1a5eb1bd
commit
f1e8495dc9
|
@ -1820,7 +1820,7 @@ std::vector<const PAD*> FOOTPRINT::GetPads( const wxString& aPadNumber, const PA
|
||||||
|
|
||||||
for( const PAD* pad : m_pads )
|
for( const PAD* pad : m_pads )
|
||||||
{
|
{
|
||||||
if( aIgnore && aIgnore == pad )
|
if( ( aIgnore && aIgnore == pad ) || ( pad->GetNumber() != aPadNumber ) )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
retv.push_back( pad );
|
retv.push_back( pad );
|
||||||
|
|
Loading…
Reference in New Issue