PNS: Fix diff pair handling of microvias as start items

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8514
This commit is contained in:
Jon Evans 2021-05-30 15:51:28 -04:00
parent d856b01d32
commit 0da85ded2f
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ bool DIFF_PAIR_PLACER::FindDpPrimitivePair( NODE* aWorld, const VECTOR2I& aP, IT
bool shapeMatches = true;
if( item->OfKind( ITEM::SOLID_T ) && item->Layers() != aItem->Layers() )
if( item->OfKind( ITEM::SOLID_T | ITEM::VIA_T ) && item->Layers() != aItem->Layers() )
{
shapeMatches = false;
}