nutti / fake-bpy-module

Fake Blender Python API module collection for the code completion.
MIT License
1.31k stars 95 forks source link

bpy.props.EnumProperty.default should be able to accept an int #198

Closed mikeyX101 closed 2 months ago

mikeyX101 commented 3 months ago

System Information

Expected behavior

It is expected for EnumProperty.default to accept an int 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 an int: default: str | set | int | None

Screenshots/Files [Optional]

image

nutti commented 2 months ago

This issue is fixed now.