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;
|
break;
|
||||||
|
|
||||||
case PAD_ATTRIB::SMD:
|
case PAD_ATTRIB::SMD:
|
||||||
|
if( pad->IsOnCopperLayer() )
|
||||||
smd_count++;
|
smd_count++;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue