Blender Git Commit Log

Git Commits -> Revision c1c0223

Revision c1c0223 by Campbell Barton (master)
April 23, 2012, 23:57 (GMT)
fix for invalid use of memset when loading tiff images
- memset(..., 1.0); // isnt valid
- memset(pointer, sizeof(pointer)) // was using the sizeof the pointer, not the size of the array, since this was to fill in alpha values it was obviously wrong.

Commit Details:

Full Hash: c1c022342cd2fb526f1dfb79ab1d7f5324e90d4e
SVN Revision: 45900
Parent Commit: 03f451f
Lines Changed: +12, -2

3 Modified Paths:

/source/blender/blenlib/BLI_math_vector.h (+1, -0) (Diff)
/source/blender/blenlib/intern/math_vector.c (+9, -0) (Diff)
/source/blender/imbuf/intern/tiff.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021