From d3cce1e35c20fb5c16d51ef508aacb9de60a55f4 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 28 Oct 2025 16:57:48 -0700 Subject: [PATCH] Remove H/V/45 limits in router completely Lots of complaints, little benefit Fixes https://gitlab.com/kicad/code/kicad/-/issues/22147 (cherry picked from commit ab0e0abe673168c9911560e910eaec915f229fd7) --- pcbnew/router/pns_tool_base.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pcbnew/router/pns_tool_base.cpp b/pcbnew/router/pns_tool_base.cpp index d66b040e4b..f5b0727277 100644 --- a/pcbnew/router/pns_tool_base.cpp +++ b/pcbnew/router/pns_tool_base.cpp @@ -421,16 +421,6 @@ void TOOL_BASE::updateEndItem( const TOOL_EVENT& aEvent ) controls()->ForceCursorPosition( true, m_endSnapPoint ); - if( Is45Limited() && m_router->GetState() == ROUTER::ROUTE_TRACK ) - { - VECTOR2I moveVector = m_endSnapPoint - m_startSnapPoint; - - if( Is45Limited() ) - m_endSnapPoint = m_startSnapPoint + GetVectorSnapped45( moveVector ); - - controls()->ForceCursorPosition( true, m_endSnapPoint ); - } - if( m_endItem ) { wxLogTrace( wxT( "PNS" ), wxT( "%s, layer : %d" ),