Don't count non-coper SMD pads for likely type

We are only concerned for connected pads, not apertures

Fixes https://gitlab.com/kicad/code/kicad/issues/13387
This commit is contained in:
Seth Hillbrand 2023-01-07 07:13:29 -08:00
parent aeb0d1d887
commit a93c83d2fa
1 changed files with 3 additions and 1 deletions

View File

@ -740,7 +740,9 @@ int FOOTPRINT::GetLikelyAttribute() const
break;
case PAD_ATTRIB::SMD:
smd_count++;
if( pad->IsOnCopperLayer() )
smd_count++;
break;
default: