From 943c5fea59270130073f13c23539d04a3efcad7c Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Tue, 20 Feb 2024 03:59:42 +0300 Subject: [PATCH] Fix length calculations in DP meander placer. --- pcbnew/router/pns_dp_meander_placer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/router/pns_dp_meander_placer.cpp b/pcbnew/router/pns_dp_meander_placer.cpp index 093dd42837..fe50039be6 100644 --- a/pcbnew/router/pns_dp_meander_placer.cpp +++ b/pcbnew/router/pns_dp_meander_placer.cpp @@ -324,6 +324,8 @@ bool DP_MEANDER_PLACER::Move( const VECTOR2I& aP, ITEM* aEndItem ) curIndexN = tunedN.NextShape( curIndexN ); } + m_result.AddCorner( tunedP.CPoint( -1 ), tunedN.CPoint( -1 ) ); + long long int dpLen = origPathLength(); m_lastStatus = TUNED;