From fd5d68ca9b310299d68549919d077e94f7279254 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 29 Mar 2024 12:53:15 -0700 Subject: [PATCH] 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 10c1072479b668d3b453d4bda288569ae94ea467) --- pcbnew/router/pns_item.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/pcbnew/router/pns_item.cpp b/pcbnew/router/pns_item.cpp index 19db310ba4..486739fbd8 100644 --- a/pcbnew/router/pns_item.cpp +++ b/pcbnew/router/pns_item.cpp @@ -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 ); }