Blender Git Loki
Git Commits -> Revision 3a4c317
Revision 3a4c317 by Bastien Montagne (master) January 31, 2013, 14:25 (GMT) |
Fix UI translation partly missing in scons builds (reported by Leon Cheung and Gabriel Gazzán on ML, and lockal on IRC, thanks). The problem is that, when HAVE__BOOL is not defined (as it is the case in scons currently), BLI_utildefines.h defines bool as a standard type. Was using signed char, which makes eg "bool foo = 1024" be false (overflow)! Especially nasty when using bitflags (think we have been lucky to not have worse bugs because of that)! So changed fallback bool type to unsigned int. |
Commit Details:
Full Hash: 3a4c317b877c3c5c061808d2aa8a437fe30d5eee
SVN Revision: 54234
Parent Commit: ba7e37c
Lines Changed: +5, -1
1 Modified Path:
/source/blender/blenlib/BLI_utildefines.h (+5, -1) (Diff)