From 1d09f843037087952ee3cf2af10916470c24c9c0 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 4 Feb 2019 03:46:52 +0100 Subject: [PATCH] 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 --- pcbnew/router/pns_diff_pair_placer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/router/pns_diff_pair_placer.cpp b/pcbnew/router/pns_diff_pair_placer.cpp index 9b79dc6290..ebdf861365 100644 --- a/pcbnew/router/pns_diff_pair_placer.cpp +++ b/pcbnew/router/pns_diff_pair_placer.cpp @@ -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 ;