[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51304] trunk/blender/source/blender/ makesrna/intern/rna_ui_api.c: Minor: precision in template_list doc, that only one list is allowed per template...

Bastien Montagne montagne29 at wanadoo.fr
Sat Oct 13 23:33:01 CEST 2012


Revision: 51304
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51304
Author:   mont29
Date:     2012-10-13 21:32:58 +0000 (Sat, 13 Oct 2012)
Log Message:
-----------
Minor: precision in template_list doc, that only one list is allowed per template...

Note: I should really try to remove this stupid limitation!

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	2012-10-13 16:42:12 UTC (rev 51303)
+++ trunk/blender/source/blender/makesrna/intern/rna_ui_api.c	2012-10-13 21:32:58 UTC (rev 51304)
@@ -439,7 +439,8 @@
 	RNA_def_boolean(func, "compact", 0, "", "Use more compact layout");
 
 	func = RNA_def_function(srna, "template_list", "uiTemplateList");
-	RNA_def_function_ui_description(func, "Item. A list widget to display data. e.g. vertexgroups");
+	RNA_def_function_ui_description(func, "Item. A list widget to display data, e.g. vertexgroups "
+	                                      "(WARNING: only one per panel allowed!).");
 	RNA_def_function_flag(func, FUNC_USE_CONTEXT);
 	parm = RNA_def_pointer(func, "data", "AnyType", "", "Data from which to take property");
 	RNA_def_property_flag(parm, PROP_REQUIRED | PROP_RNAPTR);




More information about the Bf-blender-cvs mailing list