Distinction between via and via hole probably not useful.
Fixes https://gitlab.com/kicad/code/kicad/issues/6913
This commit is contained in:
parent
068af7d328
commit
85e42890c4
|
@ -86,7 +86,7 @@ void ROUTER_PREVIEW_ITEM::Update( const PNS::ITEM* aItem )
|
|||
m_color.a = 0.8;
|
||||
m_depth = BaseOverlayDepth - aItem->Layers().Start();
|
||||
|
||||
if( ( aItem->Marker() & PNS::MK_HOLE ) && aItem->Hole() )
|
||||
if( ( aItem->Marker() & PNS::MK_HOLE ) && aItem->Kind() == PNS::ITEM::SOLID_T && aItem->Hole() )
|
||||
m_shape = aItem->Hole()->Clone();
|
||||
else
|
||||
m_shape = aItem->Shape()->Clone();
|
||||
|
|
Loading…
Reference in New Issue