From 9ad3d1d36b64f336fabdd9b3d9f02b13740068b0 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 24 Mar 2021 12:44:48 -0400 Subject: 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 --- source/blender/makesrna/intern/rna_object.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesrna') 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, -- cgit v1.2.3