Update collide for hole

As hole don't keep track of the net, update the collide function to keep it working
This commit is contained in:
Lucas Dumont 2023-04-28 08:44:11 +12:00 committed by Jeff Young
parent b2a45023bc
commit b1a4353c34
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ bool ITEM::collideSimple( const ITEM* aHead, const NODE* aNode,
if( Kind() == HOLE_T && aHead->Kind() == HOLE_T )
differentNetsOnly = false;
if( differentNetsOnly && m_net == aHead->m_net && m_net >= 0 && aHead->m_net >= 0 )
if( differentNetsOnly && Net() == aHead->m_net && aHead->m_net >= 0 )
{
// same nets? no clearance!
clearance = -1;