added "description" and "readonly" properties to RNA Structs (also accessible via python)
Many descriptions are not written, grep for DOC_BROKEN if you have some spare time to write struct descriptions.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user