Don't use diff-pair gap as a clearance.
Fixes: lp:1789690 * https://bugs.launchpad.net/kicad/+bug/1789690
This commit is contained in:
parent
9c708c6177
commit
9f068d66a8
|
@ -189,14 +189,6 @@ int PNS_PCBNEW_RULE_RESOLVER::Clearance( const PNS::ITEM* aA, const PNS::ITEM* a
|
|||
int net_b = aB->Net();
|
||||
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( 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;
|
||||
}
|
||||
|
||||
// Pad clearance is 0 if the ITEM* is not a pad
|
||||
int pad_a = localPadClearance( aA );
|
||||
int pad_b = localPadClearance( aB );
|
||||
|
|
Loading…
Reference in New Issue