diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-24 08:49:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-24 08:52:01 +0300 |
commit | d4ffd1d91f84e956c1f9832700b0f42cd150c2f1 (patch) | |
tree | e1cf22a19d5f4a6f396483cb4449ca75892441b2 /source/blender/makesdna/DNA_brush_types.h | |
parent | c1e4b369b0f2fab20e7553d2268bc3bafac004d5 (diff) |
Cleanup: declare values for enum types
Avoids accidents when adding/removing items from an enum.
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 041943bc5e4..0e16abf76f7 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -805,8 +805,8 @@ typedef enum { /* blur kernel types, Brush.blur_mode */ typedef enum eBlurKernelType { - KERNEL_GAUSSIAN, - KERNEL_BOX, + KERNEL_GAUSSIAN = 0, + KERNEL_BOX = 1, } eBlurKernelType; /* Brush.falloff_shape */ |