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_main.c')
-rw-r--r--source/blender/makesrna/intern/rna_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_main.c b/source/blender/makesrna/intern/rna_main.c
index b2ee9f4e12f..cf6ebce2db6 100644
--- a/source/blender/makesrna/intern/rna_main.c
+++ b/source/blender/makesrna/intern/rna_main.c
@@ -251,7 +251,8 @@ void RNA_def_main(BlenderRNA *brna)
{NULL, NULL, NULL, NULL, NULL}};
int i;
- srna= RNA_def_struct(brna, "Main", NULL, "Main");
+ srna= RNA_def_struct(brna, "Main", NULL);
+ RNA_def_struct_ui_text(srna, "Main", "DOC_BROKEN");
prop= RNA_def_property(srna, "filename", PROP_STRING, PROP_FILEPATH);
RNA_def_property_string_maxlength(prop, 240);