Blender Git Commit Log

Git Commits -> Revision 27a5da4

Revision 27a5da4 by Jacques Lucke (master)
September 16, 2020, 10:23 (GMT)
Cleanup: use uint8_t for various flags in curves

Previously, it was kind of a mess. In different places it was using `char`, `short` and `int`.

The changed properties are flags that are operated upon using bit operations. Therefore, the integer type should be unsigned. Since we only use 2 bits of these flags, `uint8_t` is large enough.

Especially note the change I had to make in `RNA_define.h` to make this work.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D8844

Commit Details:

Full Hash: 27a5da4dc3a399e1fe7e88dc8722a891e9cfcf78
Parent Commit: d376aea
Lines Changed: +60, -55

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020