Set keeping the center as the default arc editing mode.
This commit is contained in:
parent
95b6cc80f5
commit
8b0f3f1ee7
|
@ -1200,9 +1200,9 @@ void PCB_POINT_EDITOR::updateItem() const
|
||||||
const VECTOR2I& cursorPos = getViewControls()->GetCursorPosition( false );
|
const VECTOR2I& cursorPos = getViewControls()->GetCursorPosition( false );
|
||||||
|
|
||||||
if( m_altEditMethod )
|
if( m_altEditMethod )
|
||||||
editArcMidKeepCenter( shape, center, start, mid, end, cursorPos );
|
|
||||||
else
|
|
||||||
editArcMidKeepEndpoints( shape, start, end, cursorPos );
|
editArcMidKeepEndpoints( shape, start, end, cursorPos );
|
||||||
|
else
|
||||||
|
editArcMidKeepCenter( shape, center, start, mid, end, cursorPos );
|
||||||
}
|
}
|
||||||
else if( isModified( m_editPoints->Point( ARC_START ) )
|
else if( isModified( m_editPoints->Point( ARC_START ) )
|
||||||
|| isModified( m_editPoints->Point( ARC_END ) ) )
|
|| isModified( m_editPoints->Point( ARC_END ) ) )
|
||||||
|
@ -1210,9 +1210,9 @@ void PCB_POINT_EDITOR::updateItem() const
|
||||||
const VECTOR2I& cursorPos = getViewControls()->GetCursorPosition();
|
const VECTOR2I& cursorPos = getViewControls()->GetCursorPosition();
|
||||||
|
|
||||||
if( m_altEditMethod )
|
if( m_altEditMethod )
|
||||||
editArcEndpointKeepCenter( shape, center, start, mid, end, cursorPos );
|
|
||||||
else
|
|
||||||
editArcEndpointKeepTangent( shape, center, start, mid, end, cursorPos );
|
editArcEndpointKeepTangent( shape, center, start, mid, end, cursorPos );
|
||||||
|
else
|
||||||
|
editArcEndpointKeepCenter( shape, center, start, mid, end, cursorPos );
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue