Update collide for hole
As hole don't keep track of the net, update the collide function to keep it working
(cherry picked from commit b1a4353c34
)
This commit is contained in:
parent
0fb2f35b10
commit
8ffba3a52f
|
@ -111,7 +111,7 @@ bool ITEM::collideSimple( const ITEM* aHead, const NODE* aNode,
|
||||||
if( Kind() == HOLE_T && aHead->Kind() == HOLE_T )
|
if( Kind() == HOLE_T && aHead->Kind() == HOLE_T )
|
||||||
differentNetsOnly = false;
|
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!
|
// same nets? no clearance!
|
||||||
clearance = -1;
|
clearance = -1;
|
||||||
|
|
Loading…
Reference in New Issue