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:
parent
aeb0d1d887
commit
a93c83d2fa
|
@ -740,7 +740,9 @@ int FOOTPRINT::GetLikelyAttribute() const
|
|||
break;
|
||||
|
||||
case PAD_ATTRIB::SMD:
|
||||
smd_count++;
|
||||
if( pad->IsOnCopperLayer() )
|
||||
smd_count++;
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue