PNS: Don't use PNS margin to calc bump direction
The bump direction should only be concerned with physical points to calculate the heuristic for loop-back otherwise we get too many false positives. Fixes https://gitlab.com/kicad/code/kicad/issues/3971
This commit is contained in:
parent
e38ab6c699
commit
4c2626f6b0
|
@ -112,7 +112,7 @@ bool SHOVE::checkBumpDirection( const LINE& aCurrent, const LINE& aShoved ) cons
|
|||
{
|
||||
const SEG& ss = aCurrent.CSegment( 0 );
|
||||
|
||||
int dist = getClearance( &aCurrent, &aShoved ) + PNS_HULL_MARGIN;
|
||||
int dist = getClearance( &aCurrent, &aShoved );
|
||||
|
||||
dist += aCurrent.Width() / 2;
|
||||
dist += aShoved.Width() / 2;
|
||||
|
|
Loading…
Reference in New Issue