Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-12-22 18:04:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-22 18:04:09 +0400
commitdf6b0af04a8fa43388403190497607484aa29885 (patch)
tree64522a03edd57de6b2c57b08a5dc7a00144d3c42 /source/blender/makesrna/intern/rna_main_api.c
parent634be5992d8f3b76b510ff7cf19a1b43a18d1a21 (diff)
replace RNA_ID_type_name() with BKE_idcode_to_name_plural()
Diffstat (limited to 'source/blender/makesrna/intern/rna_main_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_main_api.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/makesrna/intern/rna_main_api.c b/source/blender/makesrna/intern/rna_main_api.c
index fac330fc243..cc74fce1733 100644
--- a/source/blender/makesrna/intern/rna_main_api.c
+++ b/source/blender/makesrna/intern/rna_main_api.c
@@ -198,15 +198,6 @@ static Object *rna_Main_objects_new(Main *UNUSED(bmain), ReportList *reports, co
return ob;
}
-/* exported for non-rna use cases */
-const char *RNA_ID_type_name(short type)
-{
- const char *idname;
- if (RNA_enum_id_from_value(id_type_items, type, &idname) == 0)
- idname = "UNKNOWN";
- return idname;
-}
-
static void rna_Main_objects_remove(Main *bmain, ReportList *reports, PointerRNA *object_ptr)
{
Object *object = object_ptr->data;