diff --git a/pcbnew/router/pns_meander_skew_placer.cpp b/pcbnew/router/pns_meander_skew_placer.cpp index 7b15c320c1..fbe9d93804 100644 --- a/pcbnew/router/pns_meander_skew_placer.cpp +++ b/pcbnew/router/pns_meander_skew_placer.cpp @@ -112,11 +112,13 @@ bool MEANDER_SKEW_PLACER::Start( const VECTOR2I& aP, ITEM* aStartItem ) { m_padToDieLength = m_padToDieN; m_coupledLength = lineLength( m_tunedPathN ); + m_tunedPath = m_tunedPathP; } else { m_padToDieLength = m_padToDieP; m_coupledLength = lineLength( m_tunedPathP ); + m_tunedPath = m_tunedPathN; } return true; @@ -125,7 +127,7 @@ bool MEANDER_SKEW_PLACER::Start( const VECTOR2I& aP, ITEM* aStartItem ) long long int MEANDER_SKEW_PLACER::origPathLength() const { - return lineLength( m_tunedPath ); + return m_padToDieLength + lineLength( m_tunedPath ); }