Don't use epsilon when calculating pushout force in dp placer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16210
This commit is contained in:
parent
95cfddf3a6
commit
ff9d834e31
|
@ -158,7 +158,7 @@ bool DIFF_PAIR_PLACER::propagateDpHeadForces ( const VECTOR2I& aP, VECTOR2I& aNe
|
||||||
if( !obs || handled.count( obs->m_item ) )
|
if( !obs || handled.count( obs->m_item ) )
|
||||||
break;
|
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 ) )
|
if( obs->m_item->Shape()->Collide( virtHead.Shape(), clearance, &force ) )
|
||||||
{
|
{
|
||||||
|
|
|
@ -32,7 +32,7 @@ namespace PNS {
|
||||||
|
|
||||||
bool VIA::PushoutForce( NODE* aNode, const ITEM* aOther, VECTOR2I& aForce )
|
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;
|
VECTOR2I elementForces[4], force;
|
||||||
size_t nf = 0;
|
size_t nf = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue