router: revert Seth's arc adjustment in StartDragging().
Fixes picking the last segment instead of the last vertex to drag (when one is requested). I didn't notice any behaviour change of the dragger wrs to arcs.
This commit is contained in:
parent
dc70df6036
commit
76f8861e6e
|
@ -88,13 +88,7 @@ bool DRAGGER::startDragSegment( const VECTOR2D& aP, SEGMENT* aSeg )
|
|||
}
|
||||
else if( distB <= w2 )
|
||||
{
|
||||
//todo (snh) Adjust segment for arcs
|
||||
if( ( m_draggedSegmentIndex < m_draggedLine.PointCount() - 2 ) &&
|
||||
( m_draggedLine.CLine().CShapes()[ m_draggedSegmentIndex + 1 ] < 0 ) )
|
||||
{
|
||||
m_draggedSegmentIndex++;
|
||||
}
|
||||
|
||||
m_draggedSegmentIndex++;
|
||||
m_mode = DM_CORNER;
|
||||
}
|
||||
else if( m_freeAngleMode )
|
||||
|
|
Loading…
Reference in New Issue