Show list of deleted items in reduce layer action

Also include specifically defined padstack items.  So if a padstack
includes a unique shape on a layer, include it in the list.

We may want to reduce the sensitivity of the check in the future

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21363
This commit is contained in:
Seth Hillbrand
2025-12-27 16:27:15 -08:00
parent 1b4a840820
commit 239882d938
7 changed files with 245 additions and 6 deletions
+6
View File
@@ -1349,6 +1349,12 @@ int PADSTACK::Compare( const PADSTACK* aLeft, const PADSTACK* aRight )
}
bool PADSTACK::HasExplicitDefinitionForLayer( PCB_LAYER_ID aLayer ) const
{
return m_copperProps.count( aLayer ) > 0;
}
double PADSTACK::Similarity( const PADSTACK& aOther ) const
{
// TODO: Implement similarity