Do not re-number aperture pads
Aperture pads do not have numbers, so reserving space for them will
cause the actual numbered pads to become out of order
(cherry picked from commit d3334ed9f0
)
This commit is contained in:
parent
09f32d8c86
commit
1e03266dfe
|
@ -430,7 +430,12 @@ int PAD_TOOL::EnumeratePads( const TOOL_EVENT& aEvent )
|
|||
collector.Collect( board(), { PCB_PAD_T }, testpoint, guide );
|
||||
|
||||
for( int i = 0; i < collector.GetCount(); ++i )
|
||||
selectedPads.push_back( static_cast<PAD*>( collector[i] ) );
|
||||
{
|
||||
PAD* pad = static_cast<PAD*>( collector[i] );
|
||||
|
||||
if( !pad->IsAperturePad() )
|
||||
selectedPads.push_back( pad );
|
||||
}
|
||||
}
|
||||
|
||||
selectedPads.unique();
|
||||
|
|
Loading…
Reference in New Issue