diff --git a/pcbnew/router/pns_diff_pair_placer.cpp b/pcbnew/router/pns_diff_pair_placer.cpp index 7f16a4e7bf..b97dd5e8c9 100644 --- a/pcbnew/router/pns_diff_pair_placer.cpp +++ b/pcbnew/router/pns_diff_pair_placer.cpp @@ -158,7 +158,7 @@ bool DIFF_PAIR_PLACER::propagateDpHeadForces ( const VECTOR2I& aP, VECTOR2I& aNe if( !obs || handled.count( obs->m_item ) ) break; - int clearance = m_currentNode->GetClearance( obs->m_item, &m_currentTrace.PLine() ); + int clearance = m_currentNode->GetClearance( obs->m_item, &m_currentTrace.PLine(), false ); if( obs->m_item->Shape()->Collide( virtHead.Shape(), clearance, &force ) ) { diff --git a/pcbnew/router/pns_via.cpp b/pcbnew/router/pns_via.cpp index 6ada741162..dfc85a4842 100644 --- a/pcbnew/router/pns_via.cpp +++ b/pcbnew/router/pns_via.cpp @@ -32,7 +32,7 @@ namespace PNS { bool VIA::PushoutForce( NODE* aNode, const ITEM* aOther, VECTOR2I& aForce ) { - int clearance = aNode->GetClearance( this, aOther ); + int clearance = aNode->GetClearance( this, aOther, false ); VECTOR2I elementForces[4], force; size_t nf = 0;