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>2012-02-07 10:07:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-07 10:07:02 +0400
commitaae52ef635d49f61934b553974312e9adeb81f16 (patch)
tree7fd85415719acec0c41391f8b23774762d86c678 /source/blender/makesrna/intern/rna_wm_api.c
parent297a21c39a9b33337b168b32adf0538b11d56510 (diff)
Documentation: add missing info about the fileselectior using hard coded property names.
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_wm_api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_wm_api.c b/source/blender/makesrna/intern/rna_wm_api.c
index 95488ead70d..35f12114a4e 100644
--- a/source/blender/makesrna/intern/rna_wm_api.c
+++ b/source/blender/makesrna/intern/rna_wm_api.c
@@ -197,7 +197,9 @@ void RNA_api_wm(StructRNA *srna)
PropertyRNA *parm;
func= RNA_def_function(srna, "fileselect_add", "WM_event_add_fileselect");
- RNA_def_function_ui_description(func, "Show up the file selector");
+ RNA_def_function_ui_description(func, "Opens a file selector with an operator. "
+ "The string properties 'filepath', 'filename', 'directory' and a 'files' collection "
+ "are assigned when present in the operator");
rna_generic_op_invoke(func, 0);
func= RNA_def_function(srna, "modal_handler_add", "rna_event_modal_handler_add");