- change object draw flag buttons to use new functions (just an example) While I probably wouldn't recommend patching other buttons to use the new functions a week before release, it is a good (simple but tedious) project to complete. Note that some code actually defined the constants for the bit index, when such code is fixed the _BIT constant should be removed from the headers. Example: DNA_constraint_types.h: #define CONSTRAINT_DISABLE 0x00000004 #define CONSTRAINT_DISABLE_BIT 2 buttons_object.c: uiDefIconButS(block, ICONTOG|BIT|CONSTRAINT_EXPAND_BIT, ...); The button definition should change to: uiDefIconButBitS(block, ICONTOG, CONSTRAINT_EXPAND, ...); (whats that, the more correct way uses less typing, GOOD GOD!) and the CONSTRAINT_DISABLE_BIT define should be removed.
13 KiB
13 KiB