From 54a9136569d975db1e894dca8291fc048f91049d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 17 May 2018 19:10:45 +0200 Subject: RNA: move enums to rna_rna.c Needed for use in rna non runtime code. --- source/blender/makesrna/intern/rna_access.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'source/blender/makesrna/intern/rna_access.c') diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 6ef14b06397..a6a834465ff 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -1408,17 +1408,6 @@ int RNA_property_pointer_poll(PointerRNA *ptr, PropertyRNA *prop, PointerRNA *va return 0; } -/* Reuse for dynamic types */ -const EnumPropertyItem DummyRNA_NULL_items[] = { - {0, NULL, 0, NULL, NULL} -}; - -/* Reuse for dynamic types with default value */ -const EnumPropertyItem DummyRNA_DEFAULT_items[] = { - {0, "DEFAULT", 0, "Default", ""}, - {0, NULL, 0, NULL, NULL} -}; - void RNA_property_enum_items_ex( bContext *C, PointerRNA *ptr, PropertyRNA *prop, const bool use_static, const EnumPropertyItem **r_item, int *r_totitem, bool *r_free) -- cgit v1.2.3