[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54627] trunk/blender/source/blender/ makesrna/intern/rna_ui_api.c: Minor precision in template_list doc, to always use a custom list_id when using default UI_UL_list class.

Bastien Montagne montagne29 at wanadoo.fr
Mon Feb 18 14:34:26 CET 2013


Revision: 54627
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54627
Author:   mont29
Date:     2013-02-18 13:34:26 +0000 (Mon, 18 Feb 2013)
Log Message:
-----------
Minor precision in template_list doc, to always use a custom list_id when using default UI_UL_list class.

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	2013-02-18 13:30:40 UTC (rev 54626)
+++ trunk/blender/source/blender/makesrna/intern/rna_ui_api.c	2013-02-18 13:34:26 UTC (rev 54627)
@@ -771,7 +771,8 @@
 	parm = RNA_def_string(func, "listtype_name", "", 0, "", "Identifier of the list type to use");
 	RNA_def_property_flag(parm, PROP_REQUIRED);
 	parm = RNA_def_string(func, "list_id", "", 0, "",
-	                      "Identifier of this list widget. "
+	                      "Identifier of this list widget (should be systematically used with default UI_UL_list "
+	                      "class). "
 	                      "If this is set, the uilist gets a custom ID, otherwise it takes the "
 	                      "name of the class used to define the uilist (for example, if the "
 	                      "class name is \"OBJECT_UL_vgroups\", and list_id is not set by the "




More information about the Bf-blender-cvs mailing list