diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-12-17 01:16:21 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-02-11 22:48:01 +0300 |
commit | df45257ec53c795081e65a35784bd89ac8c3e83d (patch) | |
tree | 524ce372deed454123d0ea2cbd4505d264019b32 /source/blender/makesdna/DNA_brush_types.h | |
parent | 6ee6a42d10e3c1c0868d1f038401d525264a7e24 (diff) |
Sculpt: Split normal radius and area radius
This enables an extra layer of control in the sculpt brushes.
For now it is enabled only in Scrape, but it should work in all brushes (like normal radius). In the future it may also be enabled in other brushes.
You can tweak in this property in the scrape brush to achieve a much better behavior when working on curve surfaces and control how much volume you want to trim. In most cases, it also fixes the bug where the brush keeps trimming in the same area without disabling accumulate.
It should be possible to fix some other artifacts in other brushes by tweaking this default property.
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D5993
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index a9e15a5baf9..a5baa7a5c75 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -311,7 +311,7 @@ typedef struct Brush { char mask_tool; /** Active grease pencil tool. */ char gpencil_tool; - char _pad1[1]; + char _pad1[5]; float autosmooth_factor; @@ -320,6 +320,7 @@ typedef struct Brush { float crease_pinch_factor; float normal_radius_factor; + float area_radius_factor; float plane_trim; /** Affectable height of brush (layer height for layer tool, i.e.). */ |