Blender Git Loki

Git Commits -> Revision 1d46bbe

Revision 1d46bbe by Brecht Van Lommel (master)
January 19, 2012, 16:22 (GMT)
Fix issue in recent color commits, was still doing a multiplication by 255 too
many, also don't check uchar range after casting to int, this can still cause
overflow with large float values.

Commit Details:

Full Hash: 1d46bbef7e07d70cf44d304f261bc5a1e8056f24
SVN Revision: 43531
Parent Commit: 1679993
Lines Changed: +12, -39

3 Modified Paths:

/source/blender/blenlib/BLI_math_color.h (+3, -0) (Diff)
/source/blender/blenlib/intern/math_color.c (+2, -20) (Diff)
/source/blender/blenlib/intern/math_color_inline.c (+7, -19) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021