diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-26 18:51:21 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-27 20:16:03 +0300 |
commit | be985bdde27f817c4caeab281ca7b666b2bd3a3c (patch) | |
tree | c4c8494b1828f16dad7804458af2eb68bb9963f7 /source/blender/blenkernel/BKE_brush.h | |
parent | c372318165cd56e9c09eb5792714d9efd98ff265 (diff) |
Sculpt: Sculpt cursor UX improvements
This commit introduces the following changes:
- Invert the direction of the brush strength WM control. It was working in the opposite direction to any other control in Blender. Now dragging to the right increases the strength.
- Increase the alpha of the cursor
- Remove the font shadow of the numbers in the WM control. It was adding too much visual noise when rendered on top of the brush alpha
- Add a second circle to preview the strength in the cursor
- Increase the resolution of the cursor circles. Now they look smooth even when working with large brush sizes.
- Add a line preview to display the brush curve
- Don't offset the cursor preview when changing size and strength
Reviewed By: billreynish, brecht
Differential Revision: https://developer.blender.org/D5889
Diffstat (limited to 'source/blender/blenkernel/BKE_brush.h')
-rw-r--r-- | source/blender/blenkernel/BKE_brush.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_brush.h b/source/blender/blenkernel/BKE_brush.h index 68fd1b1398d..891247f8127 100644 --- a/source/blender/blenkernel/BKE_brush.h +++ b/source/blender/blenkernel/BKE_brush.h @@ -90,7 +90,9 @@ float BKE_brush_sample_masktex(const struct Scene *scene, unsigned int *BKE_brush_gen_texture_cache(struct Brush *br, int half_side, bool use_secondary); /* radial control */ -struct ImBuf *BKE_brush_gen_radial_control_imbuf(struct Brush *br, bool secondary); +struct ImBuf *BKE_brush_gen_radial_control_imbuf(struct Brush *br, + bool secondary, + bool display_gradient); /* unified strength size and color */ |