Distinction between via and via hole probably not useful.

Fixes https://gitlab.com/kicad/code/kicad/issues/6913
This commit is contained in:
Jeff Young 2021-01-02 16:40:48 +00:00
parent 068af7d328
commit 85e42890c4
1 changed files with 1 additions and 1 deletions

View File

@ -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();