diff options
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index b24bb786593..a415122579e 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -58,11 +58,10 @@ typedef struct BrushGpencilSettings { /** Factor for transparency. */ float fill_threshold; - /** Number of pixel to consider the leak is too small (x 2). */ - short fill_leak; + char _pad2[2]; /* Type of caps: eGPDstroke_Caps. */ int8_t caps_type; - char _pad; + char _pad[5]; int flag2; @@ -70,6 +69,8 @@ typedef struct BrushGpencilSettings { int fill_simplylvl; /** Type of control lines drawing mode. */ int fill_draw_mode; + /** Type of gap filling extension to use. */ + int fill_extend_mode; /** Icon identifier. */ int icon_id; @@ -132,9 +133,15 @@ typedef struct BrushGpencilSettings { struct CurveMapping *curve_rand_saturation; struct CurveMapping *curve_rand_value; + /** Factor for external line thickness conversion to outline. */ + float outline_fac; + char _pad1[4]; + /* optional link of material to replace default in context */ /** Material. */ struct Material *material; + /** Material Alternative for secondary operations. */ + struct Material *material_alt; } BrushGpencilSettings; typedef struct BrushCurvesSculptSettings { @@ -381,6 +388,11 @@ typedef struct Brush { struct BrushGpencilSettings *gpencil_settings; struct BrushCurvesSculptSettings *curves_sculpt_settings; + + int automasking_cavity_blur_steps; + float automasking_cavity_factor; + + struct CurveMapping *automasking_cavity_curve; } Brush; /* Struct to hold palette colors for sorting. */ |