From f1e8495dc955f956d43706b088971d7cec089176 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Tue, 7 May 2024 16:20:22 -0400 Subject: [PATCH] Fix QA DRC regression test issue. --- pcbnew/footprint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index a34787bda7..fed42abbfc 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -1820,7 +1820,7 @@ std::vector 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 );