Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2020-10-05 18:19:28 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-10-05 20:35:11 +0300
commit628dc91c485afd45881e3df03c5005c92791e5ad (patch)
treec025eab7bddb8c8717addeb2fdf35e77ea2ef003 /source/blender/windowmanager/WM_types.h
parentca38bce46aa292654451fa34fc33b88fc5ca72f0 (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_types.h')
-rw-r--r--source/blender/windowmanager/WM_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h
index 48f8c9b6fb3..82d6e93dd87 100644
--- a/source/blender/windowmanager/WM_types.h
+++ b/source/blender/windowmanager/WM_types.h
@@ -485,6 +485,8 @@ typedef struct wmGesture {
/** optional, maximum amount of points stored. */
int points_alloc;
int modal_state;
+ /** optional, draw the active side of the straightline gesture. */
+ bool draw_active_side;
/**
* For modal operators which may be running idle, waiting for an event to activate the gesture.