From 6b6694f55f79093e62290b0276ceb462b8e57d4f Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 2 Jan 2021 15:00:23 +0000 Subject: [PATCH] Fix typo. Fixes https://gitlab.com/kicad/code/kicad/issues/6913 --- pcbnew/router/pns_router.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/router/pns_router.cpp b/pcbnew/router/pns_router.cpp index dece1e5bac..1724d1606c 100644 --- a/pcbnew/router/pns_router.cpp +++ b/pcbnew/router/pns_router.cpp @@ -303,7 +303,7 @@ void ROUTER::markViolations( NODE* aNode, ITEM_SET& aCurrent, NODE::ITEM_VECTOR& m_iface->DisplayItem( tmp.get(), -1, clearance ); // Remove the obstacle itself from the view unless we're just marking its hole - if( itemToMark->Marker() & MK_HOLE ) + if( !(itemToMark->Marker() & MK_HOLE ) ) aRemoved.push_back( itemToMark ); };