From 742c1cb3284fed8a9fdef1cb899a3eaaf896cd41 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 11 Apr 2013 18:10:57 +0000 Subject: Related to #34558: clarify the description for the "default" parameter in bpy.props.EnumProperty. --- source/blender/python/intern/bpy_props.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/blender/python/intern') 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" -- cgit v1.2.3