Fix T52090: clarify meaning of EnumProperty number when using ENUM_FLAG.
This commit is contained in:
parent
f05f2f0336
commit
d268cad06a
Notes:
blender-bot
2023-02-14 19:37:40 +01:00
Referenced by issue blender/blender-addons#52090, EnumProperty weird behavior using ENUM_FLAG option with `number` items argument
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue