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:
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r--source/blender/makesrna/intern/rna_access.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index df67e856402..2ed0848e159 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -240,6 +240,11 @@ const char *RNA_struct_ui_name(PointerRNA *ptr)
return ptr->type->name;
}
+const char *RNA_struct_ui_description(PointerRNA *ptr)
+{
+ return ptr->type->description;
+}
+
PropertyRNA *RNA_struct_name_property(PointerRNA *ptr)
{
return ptr->type->nameproperty;