Documentation: add missing info about the fileselectior using hard coded property...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 7 Feb 2012 06:07:02 +0000 (06:07 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 7 Feb 2012 06:07:02 +0000 (06:07 +0000)
source/blender/makesrna/intern/rna_wm_api.c

index 95488ead70d19535de53b7a4b48a4dfc5769cd81..35f12114a4e510d8fd6356e6ad73411bf7ff32e6 100644 (file)
@@ -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");