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>2008-12-19 07:06:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-12-19 07:06:24 +0300
commit04428d6750d7309d7c7436c65b465f2b51d3d6a2 (patch)
tree683c884c3c3986f8dcab09e3207b4a7743a5e1b5 /source/blender/makesrna/intern/rna_group.c
parentd9de6fca6cda2a7ddeeb936692b529182a14dec9 (diff)
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.
Diffstat (limited to 'source/blender/makesrna/intern/rna_group.c')
-rw-r--r--source/blender/makesrna/intern/rna_group.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_group.c b/source/blender/makesrna/intern/rna_group.c
index 54ac834466b..1125482d966 100644
--- a/source/blender/makesrna/intern/rna_group.c
+++ b/source/blender/makesrna/intern/rna_group.c
@@ -48,7 +48,8 @@ void RNA_def_group(BlenderRNA *brna)
StructRNA *srna;
PropertyRNA *prop;
- srna= RNA_def_struct(brna, "Group", "ID", "Group");
+ srna= RNA_def_struct(brna, "Group", "ID");
+ RNA_def_struct_ui_text(srna, "Group", "DOC_BROKEN");
prop= RNA_def_property(srna, "dupli_offset", PROP_FLOAT, PROP_VECTOR);
RNA_def_property_float_sdna(prop, NULL, "dupli_ofs");