From 0da85ded2fd0866be76b64f75c72464b510ef328 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sun, 30 May 2021 15:51:28 -0400 Subject: [PATCH] PNS: Fix diff pair handling of microvias as start items Fixes https://gitlab.com/kicad/code/kicad/-/issues/8514 --- pcbnew/router/pns_diff_pair_placer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/router/pns_diff_pair_placer.cpp b/pcbnew/router/pns_diff_pair_placer.cpp index b2181e726d..32102c2ca5 100644 --- a/pcbnew/router/pns_diff_pair_placer.cpp +++ b/pcbnew/router/pns_diff_pair_placer.cpp @@ -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; }