diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-07-17 14:56:51 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-07-17 19:31:19 +0300 |
commit | d268cad06a5207d63ff10026eeb09fe450282a01 (patch) | |
tree | 6457c7948ec2e2e544515b40f4241113685c98ac /source/blender/python/intern/bpy_props.c | |
parent | f05f2f0336025f00a299ec930151a155d55c6ab3 (diff) |
Fix T52090: clarify meaning of EnumProperty number when using ENUM_FLAG.
Diffstat (limited to 'source/blender/python/intern/bpy_props.c')
-rw-r--r-- | source/blender/python/intern/bpy_props.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c index c7787ba9682..362c0281b36 100644 --- a/source/blender/python/intern/bpy_props.c +++ b/source/blender/python/intern/bpy_props.c @@ -2697,7 +2697,8 @@ PyDoc_STRVAR(BPy_EnumProperty_doc, " :icon: An icon string identifier or integer icon value\n" " (e.g. returned by :class:`bpy.types.UILayout.icon`)\n" " :number: Unique value used as the identifier for this item (stored in file data).\n" -" Use when the identifier may need to change.\n" +" Use when the identifier may need to change. If the *ENUM_FLAG* option is used,\n" +" the values are bitmasks and should be powers of two.\n" "\n" " When an item only contains 4 items they define ``(identifier, name, description, number)``.\n" "\n" |