router: fix mistake in 45/free-angle mode selection when dragging corners
This commit is contained in:
parent
32bd31a1b8
commit
85aecc15ee
|
@ -362,9 +362,9 @@ bool DRAGGER::dragWalkaround( const VECTOR2I& aP )
|
||||||
LINE origLine( m_draggedLine );
|
LINE origLine( m_draggedLine );
|
||||||
|
|
||||||
if( m_mode == DM_SEGMENT )
|
if( m_mode == DM_SEGMENT )
|
||||||
dragged.DragSegment( aP, m_draggedSegmentIndex, false );
|
dragged.DragSegment( aP, m_draggedSegmentIndex );
|
||||||
else
|
else
|
||||||
dragged.DragCorner( aP, m_draggedSegmentIndex, thresh );
|
dragged.DragCorner( aP, m_draggedSegmentIndex );
|
||||||
|
|
||||||
if ( m_world->CheckColliding( &dragged ) )
|
if ( m_world->CheckColliding( &dragged ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue