mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Pay attention to layers when sorting pads.
Fixes https://gitlab.com/kicad/code/kicad/issues/10143
This commit is contained in:
parent
47d86e5d9e
commit
d6ae915616
@ -2653,6 +2653,7 @@ bool FOOTPRINT::cmp_pads::operator()( const PAD* aFirst, const PAD* aSecond ) co
|
||||
TEST_PT( aFirst->GetPos0(), aSecond->GetPos0() );
|
||||
TEST_PT( aFirst->GetSize(), aSecond->GetSize() );
|
||||
TEST( aFirst->GetShape(), aSecond->GetShape() );
|
||||
TEST( aFirst->GetLayerSet().Seq(), aSecond->GetLayerSet().Seq() );
|
||||
|
||||
TEST( aFirst->m_Uuid, aSecond->m_Uuid ); // should be always the case for valid boards
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user