[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43945] trunk/blender/source/blender/ makesrna/intern/rna_wm_api.c: Documentation: add missing info about the fileselectior using hard coded property names.

Campbell Barton ideasman42 at gmail.com
Tue Feb 7 07:07:09 CET 2012


Revision: 43945
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43945
Author:   campbellbarton
Date:     2012-02-07 06:07:02 +0000 (Tue, 07 Feb 2012)
Log Message:
-----------
Documentation: add missing info about the fileselectior using hard coded property names.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_wm_api.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_wm_api.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_wm_api.c	2012-02-07 03:56:35 UTC (rev 43944)
+++ trunk/blender/source/blender/makesrna/intern/rna_wm_api.c	2012-02-07 06:07:02 UTC (rev 43945)
@@ -197,7 +197,9 @@
 	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");




More information about the Bf-blender-cvs mailing list