Formatting.

This commit is contained in:
Jeff Young 2023-07-01 13:00:19 +01:00
parent 2c068ab86d
commit 63daf336b8
1 changed files with 1 additions and 8 deletions

View File

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