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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-11 22:10:57 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-11 22:10:57 +0400
commit742c1cb3284fed8a9fdef1cb899a3eaaf896cd41 (patch)
treeca9ee3a1a512ac38d91bb307f31cfb757cbe73cd /source/blender/python/intern
parentbd07cac23261a53cef65da0918b5521fed312579 (diff)
Related to #34558: clarify the description for the "default" parameter in bpy.props.EnumProperty.
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r--source/blender/python/intern/bpy_props.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c
index 509d37d24e7..9bd9d33a36c 100644
--- a/source/blender/python/intern/bpy_props.c
+++ b/source/blender/python/intern/bpy_props.c
@@ -2522,9 +2522,8 @@ PyDoc_STRVAR(BPy_EnumProperty_doc,
"\n"
BPY_PROPDEF_NAME_DOC
BPY_PROPDEF_DESC_DOC
-" :arg default: The default value for this enum, A string when *ENUM_FLAG*\n"
-" is disabled otherwise a set which may only contain string identifiers\n"
-" used in *items*.\n"
+" :arg default: The default value for this enum, a string from the identifiers used in *items*.\n"
+" If the *ENUM_FLAG* option is used this must be a set of such string identifiers instead.\n"
" :type default: string or set\n"
" :arg options: Enumerator in ['HIDDEN', 'SKIP_SAVE', 'ANIMATABLE', 'ENUM_FLAG', 'LIBRARY_EDITABLE'].\n"
" :type options: set\n"