Fix typo.

Fixes https://gitlab.com/kicad/code/kicad/issues/6913
This commit is contained in:
Jeff Young 2021-01-02 15:00:23 +00:00
parent b53219356f
commit 6b6694f55f
1 changed files with 1 additions and 1 deletions

View File

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