Formatting.
This commit is contained in:
parent
2c068ab86d
commit
63daf336b8
|
@ -126,16 +126,11 @@ bool ITEM::collideSimple( const ITEM* aHead, const NODE* aNode,
|
||||||
}
|
}
|
||||||
|
|
||||||
// And a special case for the "head" via's hole.
|
// And a special case for the "head" via's hole.
|
||||||
|
|
||||||
|
|
||||||
if( holeH && shouldWeConsiderHoleCollisions( this, holeH ) )
|
if( holeH && shouldWeConsiderHoleCollisions( this, holeH ) )
|
||||||
{
|
{
|
||||||
if( collideSimple( holeH, aNode, aCtx ) )
|
if( collideSimple( holeH, aNode, aCtx ) )
|
||||||
{
|
|
||||||
collisionsFound = true;
|
collisionsFound = true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Sadly collision routines ignore SHAPE_POLY_LINE widths so we have to pass them in as part
|
// Sadly collision routines ignore SHAPE_POLY_LINE widths so we have to pass them in as part
|
||||||
// of the clearance value.
|
// of the clearance value.
|
||||||
|
@ -156,9 +151,7 @@ bool ITEM::collideSimple( const ITEM* aHead, const NODE* aNode,
|
||||||
int clearance;
|
int clearance;
|
||||||
|
|
||||||
if( aCtx )
|
if( aCtx )
|
||||||
{
|
|
||||||
differentNetsOnly = aCtx->options.m_differentNetsOnly;
|
differentNetsOnly = aCtx->options.m_differentNetsOnly;
|
||||||
}
|
|
||||||
|
|
||||||
// Hole-to-hole collisions don't have anything to do with nets
|
// Hole-to-hole collisions don't have anything to do with nets
|
||||||
if( Kind() == HOLE_T && aHead->Kind() == HOLE_T )
|
if( Kind() == HOLE_T && aHead->Kind() == HOLE_T )
|
||||||
|
|
Loading…
Reference in New Issue