Crash if I use ctrl+scrollwheel to go beyond the range of the menu
This appears to be a bug in RNA: item.identifier == nullptr
indicates the end of the items list (as opposed to `identifier[…
That was surprisingly easy.
Example below shows adding an int property, then add enum items, and the button switches to a dropdown display. Also includes a demo of the modifier nodes case,…
Still have to add a special case in rna_access.cc
to actually display custom int properties with enum items as an PROP_ENUM
property. It's currently based only on the base type, which always…
Do we need an actual eIDPropertySubType
for enums? That seems somewhat redundant: if the property has enum items it's an enum, otherwise it's a plain int. The eIDPropertySubType
also has a…