Pay attention to layers when sorting pads.

Fixes https://gitlab.com/kicad/code/kicad/issues/10143
This commit is contained in:
Jeff Young 2022-11-24 15:45:09 +00:00
parent 47d86e5d9e
commit d6ae915616
1 changed files with 1 additions and 0 deletions

View File

@ -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