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:
authorAntonioya <blendergit@gmail.com>2018-09-14 11:31:47 +0300
committerAntonioya <blendergit@gmail.com>2018-09-14 11:31:47 +0300
commit1d76fbf3df69db6939145b5a1cac7a5d6a482375 (patch)
treee4831100bd100556205c81b78984dba5cd8fa4ed /source/blender/makesdna/DNA_brush_types.h
parent18141863b2123fec3aab411755db3ed2be4ce04d (diff)
GP: Add thickness and stregth factor to UI
Now it's possible change the factors for soft eraser.
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r--source/blender/makesdna/DNA_brush_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h
index 09d5ec92859..970605d6be7 100644
--- a/source/blender/makesdna/DNA_brush_types.h
+++ b/source/blender/makesdna/DNA_brush_types.h
@@ -84,6 +84,8 @@ typedef struct BrushGpencilSettings {
int brush_type; /* type of brush (draw, fill, erase, etc..) */
int eraser_mode; /* soft, hard or stroke */
float active_smooth; /* smooth while drawing factor */
+ float era_strength_f; /* factor to apply to strength for soft eraser */
+ float era_thickness_f; /* factor to apply to thickness for soft eraser */
char pad_2[4];
struct CurveMapping *curve_sensitivity;