Browse Source

Fix an issue created by commit 9e3362d1.

the issue was the graphic cursor was locked on the first snap point
in route mode, once a snap point is found.
6.0.7
jean-pierre charras 4 years ago
parent
commit
302c5ab537
  1. 2
      pcbnew/router/pns_tool_base.cpp

2
pcbnew/router/pns_tool_base.cpp

@ -279,7 +279,7 @@ void TOOL_BASE::updateStartItem( const TOOL_EVENT& aEvent, bool aIgnorePads )
else
p = cp;
m_startItem = pickSingleItem( cp, -1, -1, aIgnorePads );
m_startItem = pickSingleItem( aEvent.IsClick() ? cp : p, -1, -1, aIgnorePads );
if( !m_gridHelper->GetUseGrid() && m_startItem && !m_startItem->Layers().Overlaps( tl ) )
m_startItem = nullptr;

Loading…
Cancel
Save