diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-10-05 18:19:28 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-10-05 20:35:11 +0300 |
commit | 628dc91c485afd45881e3df03c5005c92791e5ad (patch) | |
tree | c025eab7bddb8c8717addeb2fdf35e77ea2ef003 /source/blender/windowmanager/WM_api.h | |
parent | ca38bce46aa292654451fa34fc33b88fc5ca72f0 (diff) |
Sculpt: Preview the active side of the line gestures
This adds a small gradient to the right side of the line to preview
which side of the mesh is going to be affected by the gesture operation.
Reviewed By: Severin
Differential Revision: https://developer.blender.org/D9106
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 8fba1ed342e..8d4ef29af74 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -636,6 +636,9 @@ const int (*WM_gesture_lasso_path_to_array(struct bContext *C, int WM_gesture_straightline_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event); +int WM_gesture_straightline_active_side_invoke(struct bContext *C, + struct wmOperator *op, + const struct wmEvent *event); int WM_gesture_straightline_modal(struct bContext *C, struct wmOperator *op, const struct wmEvent *event); |