diff options
author | Hans Goudey <h.goudey@me.com> | 2021-03-24 19:44:48 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-03-24 19:44:48 +0300 |
commit | 9ad3d1d36b64f336fabdd9b3d9f02b13740068b0 (patch) | |
tree | cf7c15613e7853f1be70672b885a875312d0b3d1 /source/blender/makesrna/intern | |
parent | a363d64b93cdebff92f2c84d4382d1227cf4425c (diff) |
Cleanup: Remove unecessary enum funcs
The separator can be added directly in the enum items rather than in
a callback.
Differential Revision: https://developer.blender.org/D10806
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index b04fea11a4d..b53318cfbfe 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -160,6 +160,7 @@ const EnumPropertyItem rna_enum_object_gpencil_type_items[] = { {GP_EMPTY, "EMPTY", ICON_EMPTY_AXIS, "Blank", "Create an empty grease pencil object"}, {GP_STROKE, "STROKE", ICON_STROKE, "Stroke", "Create a simple stroke with basic colors"}, {GP_MONKEY, "MONKEY", ICON_MONKEY, "Monkey", "Construct a Suzanne grease pencil object"}, + {0, "", 0, NULL, NULL}, {GP_LRT_SCENE, "LRT_SCENE", ICON_SCENE_DATA, |