[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41865] trunk/blender/source/blender/ makesrna/intern/rna_ui_api.c: Minor: added the description of expected string format for the template_list's " prop_list" parameter (was missing in bpy ref...).

Bastien Montagne montagne29 at wanadoo.fr
Tue Nov 15 10:42:00 CET 2011


Revision: 41865
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41865
Author:   mont29
Date:     2011-11-15 09:42:00 +0000 (Tue, 15 Nov 2011)
Log Message:
-----------
Minor: added the description of expected string format for the template_list's "prop_list" parameter (was missing in bpy ref...).

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

Modified: trunk/blender/source/blender/makesrna/intern/rna_ui_api.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_ui_api.c	2011-11-15 09:28:15 UTC (rev 41864)
+++ trunk/blender/source/blender/makesrna/intern/rna_ui_api.c	2011-11-15 09:42:00 UTC (rev 41865)
@@ -429,7 +429,8 @@
 	RNA_def_property_flag(parm, PROP_REQUIRED);
 	RNA_def_string(func, "prop_list", "", 0, "",
 	               "Identifier of a string property in each data member, specifying which "
-	               "of its properties should have a widget displayed in its row");
+	               "of its properties should have a widget displayed in its row "
+	               "(format: \"propname1:propname2:propname3:...\")");
 	RNA_def_int(func, "rows", 5, 0, INT_MAX, "", "Number of rows to display", 0, INT_MAX);
 	RNA_def_int(func, "maxrows", 5, 0, INT_MAX, "", "Maximum number of rows to display", 0, INT_MAX);
 	RNA_def_enum(func, "type", list_type_items, 0, "Type", "Type of list to use");




More information about the Bf-blender-cvs mailing list