Closed mikeyX101 closed 2 months ago
It is expected for EnumProperty.default to accept an int as an index to point to the enum entry to have by default.
EnumProperty.default
int
EnumProperty is currently defined as default: str | set | None, but should also accept an int: default: str | set | int | None
default: str | set | None
default: str | set | int | None
This issue is fixed now.
System Information
Expected behavior
It is expected for
EnumProperty.default
to accept anint
as an index to point to the enum entry to have by default.Description about the bug
EnumProperty is currently defined as
default: str | set | None
, but should also accept anint
:default: str | set | int | None
Screenshots/Files [Optional]