Bitfield of 1 bit uses check box when paired with enum

Currently, with the following enum:

enum <ubyte> {
	v0 = 0,
	v1 = 1
} x : 1;

A check box is automatically used, despite being paired with an enum that gives names to each individual value. In my opinion, check boxes should not be used for such fields, since it’s likely that the field has more complexity than just a true/false.

Additionally, with the above scenario, the check box is actually broken - it always displays an empty check box, even if the value is 1.

Yes, we can disable the automatic check box if the bitfield is also an enum. You can call BitfieldSetAutoCheckBox(false) at the beginning of the template to turn off the check box manually for now. I think we’ve got this implemented and also the checkbox should work properly now when turned on. The fix will be available in v16beta3 which should be up in a few days.

Graeme
SweetScape Software