diff options
author | Jacques Lucke <jacques@blender.org> | 2022-03-17 14:42:01 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-03-17 14:42:01 +0300 |
commit | 8f68cff01b85bfde18c9442e6a638eda181ee159 (patch) | |
tree | b428494bc8b72e868e07979cc5e9481b5752f65e /source | |
parent | dd483215e58f09a8da8de9f79c6da080cdeeb92c (diff) |
Cleanup: name enums
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesdna/DNA_brush_enums.h | 4 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_brush_enums.h b/source/blender/makesdna/DNA_brush_enums.h index f8ffe6a0a47..90763dae600 100644 --- a/source/blender/makesdna/DNA_brush_enums.h +++ b/source/blender/makesdna/DNA_brush_enums.h @@ -602,10 +602,10 @@ typedef enum eBlurKernelType { } eBlurKernelType; /* Brush.falloff_shape */ -enum { +typedef enum eBrushFalloffShape { PAINT_FALLOFF_SHAPE_SPHERE = 0, PAINT_FALLOFF_SHAPE_TUBE = 1, -}; +} eBrushFalloffShape; #define MAX_BRUSH_PIXEL_RADIUS 500 #define GP_MAX_BRUSH_PIXEL_RADIUS 1000 diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index fe80220b1dd..78e3a64e07e 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -256,7 +256,7 @@ typedef struct Brush { char gpencil_sculpt_tool; /** Active grease pencil weight tool. */ char gpencil_weight_tool; - /** Active curves sculpt tool. */ + /** Active curves sculpt tool (#eBrushCurvesSculptTool). */ char curves_sculpt_tool; char _pad1[5]; |