PNS: new through vias should span all copper layers
Fixes https://gitlab.com/kicad/code/kicad/issues/7576
This commit is contained in:
parent
47145d349b
commit
df99ee39d9
|
@ -70,7 +70,8 @@ void LINE_PLACER::setWorld( NODE* aWorld )
|
|||
|
||||
const VIA LINE_PLACER::makeVia( const VECTOR2I& aP )
|
||||
{
|
||||
const LAYER_RANGE layers( m_sizes.GetLayerTop(), m_sizes.GetLayerBottom() );
|
||||
const LAYER_RANGE layers( m_sizes.ViaType() == VIATYPE::THROUGH ? F_Cu : m_sizes.GetLayerTop(),
|
||||
m_sizes.ViaType() == VIATYPE::THROUGH ? B_Cu : m_sizes.GetLayerBottom() );
|
||||
|
||||
return VIA( aP, layers, m_sizes.ViaDiameter(), m_sizes.ViaDrill(), -1, m_sizes.ViaType() );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue