From bf9501e1d42ae1a62a2a804982f2e3c05149ef82 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 29 Dec 2020 21:14:24 -0500 Subject: [PATCH] PNS: Fix auto-posture when placing via --- pcbnew/router/pns_line_placer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/router/pns_line_placer.cpp b/pcbnew/router/pns_line_placer.cpp index bbe0e88c91..59c2e48e91 100644 --- a/pcbnew/router/pns_line_placer.cpp +++ b/pcbnew/router/pns_line_placer.cpp @@ -1485,7 +1485,8 @@ bool LINE_PLACER::buildInitialLine( const VECTOR2I& aP, LINE& aHead ) if( v.PushoutForce( m_currentNode, lead, force, solidsOnly, 40 ) ) { - SHAPE_LINE_CHAIN line = m_direction.BuildInitialTrace( m_p_start, aP + force, initial_radius ); + SHAPE_LINE_CHAIN line = guessedDir.BuildInitialTrace( m_p_start, aP + force, false, + initial_radius ); aHead = LINE( aHead, line ); v.SetPos( v.Pos() + force );