From 172b0ebe6adf8f97ba6ac56df06b103acaa0d3a9 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Fri, 16 Sep 2022 11:06:44 +0200 Subject: GPencil: Rename Fill closure methods The new names are: * Radius * Extend The mode Radius + Extend has been removed. Also, some code cleanup and format. --- source/blender/makesdna/DNA_brush_enums.h | 5 ++--- source/blender/makesdna/DNA_brush_types.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_brush_enums.h b/source/blender/makesdna/DNA_brush_enums.h index 0762d304313..97abf0fec5e 100644 --- a/source/blender/makesdna/DNA_brush_enums.h +++ b/source/blender/makesdna/DNA_brush_enums.h @@ -127,9 +127,8 @@ typedef enum eGP_FillDrawModes { /* BrushGpencilSettings->fill_extend_mode */ typedef enum eGP_FillExtendModes { - GP_FILL_EMODE_LINES_AND_CIRCLES = 0, - GP_FILL_EMODE_LINES = 1, - GP_FILL_EMODE_CIRCLES = 2, + GP_FILL_EMODE_RADIUS = 0, + GP_FILL_EMODE_EXTEND = 1, } eGP_FillExtendModes; /* BrushGpencilSettings->fill_layer_mode */ diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index f91321c253f..4048867607f 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -70,7 +70,7 @@ typedef struct BrushGpencilSettings { int fill_simplylvl; /** Type of control lines drawing mode. */ int fill_draw_mode; - /** Type of gap filling to use */ + /** Type of gap filling extension to use. */ int fill_extend_mode; /** Icon identifier. */ int icon_id; -- cgit v1.2.3