From 9216b8d6cb0be1bd83f5d3aaaccde6e2f209f580 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Wed, 21 Oct 2020 17:44:00 +0200 Subject: UI: Allow changing the active side of line gestures Line gesture use always the right side of the line as active (the area of the mesh that is going to be modified) by default. This adds the ability to change the active side when the line gesture is active by pressing the F key. This allows more freedom to position the line after starting the gestures, as it won't be required to cancel the operation or undo if the line was used in the wrong direction. Reviewed By: Severin Differential Revision: https://developer.blender.org/D9301 --- source/blender/windowmanager/wm_event_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/windowmanager/wm_event_types.h') diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h index 21662a4e83a..223f6cf543d 100644 --- a/source/blender/windowmanager/wm_event_types.h +++ b/source/blender/windowmanager/wm_event_types.h @@ -496,6 +496,9 @@ enum { /** Toggle to activate snapping (angle snapping for straight line). */ GESTURE_MODAL_SNAP = 13, + + /** Toggle to activate flip (flip the active side of a straight line). */ + GESTURE_MODAL_FLIP = 14, }; #ifdef __cplusplus -- cgit v1.2.3