Browse Source

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 ab0e0abe67)
9.0
Seth Hillbrand 2 weeks ago
parent
commit
d3cce1e35c
  1. 10
      pcbnew/router/pns_tool_base.cpp

10
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" ),

Loading…
Cancel
Save