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:
2008-12-19 04:06:24 +00:00
parent d9de6fca6c
commit 04428d6750
41 changed files with 356 additions and 167 deletions

View File

@@ -861,6 +861,8 @@ static void rna_generate_struct(BlenderRNA *brna, StructRNA *srna, FILE *f)
rna_print_c_string(f, srna->identifier);
fprintf(f, ", %d, ", srna->flag);
rna_print_c_string(f, srna->name);
fprintf(f, ", ");
rna_print_c_string(f, srna->description);
fprintf(f, ",\n");
prop= srna->nameproperty;