diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-31 18:25:07 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-31 18:25:07 +0400 |
commit | 3a4c317b877c3c5c061808d2aa8a437fe30d5eee (patch) | |
tree | 8944621f407c08228bcb8cb59149766961efbe0a /source/blender/compositor/operations/COM_TranslateOperation.h | |
parent | ba7e37c2b6ea87c08dac697257360edcea2ae8f4 (diff) |
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.
Diffstat (limited to 'source/blender/compositor/operations/COM_TranslateOperation.h')
0 files changed, 0 insertions, 0 deletions