From aae52ef635d49f61934b553974312e9adeb81f16 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 7 Feb 2012 06:07:02 +0000 Subject: [PATCH] Documentation: add missing info about the fileselectior using hard coded property names. --- source/blender/makesrna/intern/rna_wm_api.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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");