diff --git a/pcbnew/router/pns_kicad_iface.cpp b/pcbnew/router/pns_kicad_iface.cpp index 52742b01b4..61d5cb9940 100644 --- a/pcbnew/router/pns_kicad_iface.cpp +++ b/pcbnew/router/pns_kicad_iface.cpp @@ -187,7 +187,8 @@ int PNS_PCBNEW_RULE_RESOLVER::Clearance( const PNS::ITEM* aA, const PNS::ITEM* a int cl_b = ( net_b >= 0 ? m_netClearanceCache[net_b].clearance : m_defaultClearance ); // Clearance in differential pairs can only happen when there is a specific net - if( net_a >= 0 && net_b >= 0 && m_netClearanceCache[net_a].coupledNet == net_b ) + if( m_router->Mode() == PNS::PNS_MODE_ROUTE_DIFF_PAIR && + net_a >= 0 && net_b >= 0 && m_netClearanceCache[net_a].coupledNet == net_b ) { cl_a = m_netClearanceCache[net_a].dpClearance; cl_b = m_netClearanceCache[net_b].dpClearance;