diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-09-16 12:06:44 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-09-17 13:30:13 +0300 |
commit | 172b0ebe6adf8f97ba6ac56df06b103acaa0d3a9 (patch) | |
tree | 804745cc1563e52d5a43cf1675538fe296043735 /source/blender/makesdna | |
parent | 468f2ccc0ecbcb368aab950c61c2cc0bc95b27e1 (diff) |
GPencil: Rename Fill closure methods
The new names are:
* Radius
* Extend
The mode Radius + Extend has been removed.
Also, some code cleanup and format.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_brush_enums.h | 5 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 2 |
2 files changed, 3 insertions, 4 deletions
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; |