[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55976] trunk/blender/source/blender/ python/intern/bpy_props.c: Related to #34558: clarify the description for the "default" parameter in bpy.props. EnumProperty.

Brecht Van Lommel brechtvanlommel at pandora.be
Thu Apr 11 20:10:57 CEST 2013


Revision: 55976
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55976
Author:   blendix
Date:     2013-04-11 18:10:57 +0000 (Thu, 11 Apr 2013)
Log Message:
-----------
Related to #34558: clarify the description for the "default" parameter in bpy.props.EnumProperty.

Modified Paths:
--------------
    trunk/blender/source/blender/python/intern/bpy_props.c

Modified: trunk/blender/source/blender/python/intern/bpy_props.c
===================================================================
--- trunk/blender/source/blender/python/intern/bpy_props.c	2013-04-11 15:40:57 UTC (rev 55975)
+++ trunk/blender/source/blender/python/intern/bpy_props.c	2013-04-11 18:10:57 UTC (rev 55976)
@@ -2522,9 +2522,8 @@
 "\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"




More information about the Bf-blender-cvs mailing list