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_shader_fx_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_shader_fx_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_shader_fx_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_shader_fx_types.h b/source/blender/makesdna/DNA_shader_fx_types.h index e0931d8cac3..18a4e8655a3 100644 --- a/source/blender/makesdna/DNA_shader_fx_types.h +++ b/source/blender/makesdna/DNA_shader_fx_types.h @@ -42,6 +42,7 @@ typedef enum ShaderFxType { eShaderFxType_Colorize = 8, eShaderFxType_Shadow = 9, eShaderFxType_Glow = 10, + /* Keep last. */ NUM_SHADER_FX_TYPES, } ShaderFxType; |