From d269778cd41a373a292d77d5d6bf7ffdc23d0073 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 27 Feb 2021 13:47:51 -0500 Subject: [PATCH] PNS: disable smart pads in walkaround if posture is forced Fixes https://gitlab.com/kicad/code/kicad/-/issues/7710 --- pcbnew/router/pns_line_placer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/router/pns_line_placer.cpp b/pcbnew/router/pns_line_placer.cpp index 5fa439c657..6d01726ef0 100644 --- a/pcbnew/router/pns_line_placer.cpp +++ b/pcbnew/router/pns_line_placer.cpp @@ -483,7 +483,7 @@ bool LINE_PLACER::rhWalkOnly( const VECTOR2I& aP, LINE& aNewHead ) break; } - if( Settings().SmartPads() ) + if( Settings().SmartPads() && !m_mouseTrailTracer.IsManuallyForced() ) effort |= OPTIMIZER::SMART_PADS; if( wr.statusCw == WALKAROUND::STUCK || wr.statusCcw == WALKAROUND::STUCK )