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:
@@ -60,7 +60,8 @@ void RNA_def_material(BlenderRNA *brna)
|
||||
{0, NULL, NULL, NULL}};
|
||||
|
||||
|
||||
srna= RNA_def_struct(brna, "Material", "ID", "Material");
|
||||
srna= RNA_def_struct(brna, "Material", "ID");
|
||||
RNA_def_struct_ui_text(srna, "Material", "DOC_BROKEN");
|
||||
|
||||
prop= RNA_def_property(srna, "color_model", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "colormodel");
|
||||
|
||||
Reference in New Issue
Block a user