Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2013-02-18 17:34:26 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-02-18 17:34:26 +0400
commitb99dcf3b51ac2b4d3b44521fcdc83b017b11a026 (patch)
treede1648f5cdecc3b10b1a1da53c98f1b106fac438 /source/blender/makesrna/intern/rna_ui_api.c
parent5c5b7537798554cf7981a913ec3d248b6959893f (diff)
Minor precision in template_list doc, to always use a custom list_id when using default UI_UL_list class.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_ui_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c
index 2043832a3f8..d0b21948a41 100644
--- a/source/blender/makesrna/intern/rna_ui_api.c
+++ b/source/blender/makesrna/intern/rna_ui_api.c
@@ -771,7 +771,8 @@ void RNA_api_ui_layout(StructRNA *srna)
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 "