router: fix mistake in 45/free-angle mode selection when dragging corners

This commit is contained in:
Tomasz Wlostowski 2020-07-23 01:04:52 +02:00
parent 32bd31a1b8
commit 85aecc15ee
1 changed files with 2 additions and 2 deletions

View File

@ -362,9 +362,9 @@ bool DRAGGER::dragWalkaround( const VECTOR2I& aP )
LINE origLine( m_draggedLine );
if( m_mode == DM_SEGMENT )
dragged.DragSegment( aP, m_draggedSegmentIndex, false );
dragged.DragSegment( aP, m_draggedSegmentIndex );
else
dragged.DragCorner( aP, m_draggedSegmentIndex, thresh );
dragged.DragCorner( aP, m_draggedSegmentIndex );
if ( m_world->CheckColliding( &dragged ) )
{