From 1d76fbf3df69db6939145b5a1cac7a5d6a482375 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Fri, 14 Sep 2018 10:31:47 +0200 Subject: GP: Add thickness and stregth factor to UI Now it's possible change the factors for soft eraser. --- source/blender/makesdna/DNA_brush_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna/DNA_brush_types.h') 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; -- cgit v1.2.3