router: Take track width in dp from dp

Fixes and issue where forces were calculated using the current track
width even in differential placer mode where the tracks are specified by
the differential pair width.

Fixes: lp:1814480
* https://bugs.launchpad.net/kicad/+bug/1814480
This commit is contained in:
Seth Hillbrand 2019-02-04 03:46:52 +01:00
parent 8ca76177c0
commit 1d09f84303
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ bool DIFF_PAIR_PLACER::propagateDpHeadForces ( const VECTOR2I& aP, VECTOR2I& aNe
else
{
virtHead.SetLayer( m_currentLayer );
virtHead.SetDiameter( m_sizes.DiffPairGap() + 2 * m_sizes.TrackWidth() );
virtHead.SetDiameter( m_sizes.DiffPairGap() + 2 * m_sizes.DiffPairWidth() );
}
VECTOR2I lead( 0, 0 );// = aP - m_currentStart ;