Remove duplicated clearanceEpsilon

We already get clearance epsilon in the clearance resolver.  Don't
subtract it twice or we end up getting DRC errors

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16879

(cherry picked from commit 10c1072479)
This commit is contained in:
Seth Hillbrand 2024-03-29 12:53:15 -07:00
parent 9f26cbb89a
commit fd5d68ca9b
1 changed files with 0 additions and 3 deletions

View File

@ -191,9 +191,6 @@ bool ITEM::collideSimple( const ITEM* aHead, const NODE* aNode,
}
else
{
if( aCtx && !aCtx->options.m_useClearanceEpsilon )
clearanceEpsilon = 0;
clearance = aNode->GetClearance( this, aHead, aCtx ? aCtx->options.m_useClearanceEpsilon
: false );
}