fix for invalid use of memset when loading tiff images
authorCampbell Barton <ideasman42@gmail.com>
Mon, 23 Apr 2012 23:57:17 +0000 (23:57 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 23 Apr 2012 23:57:17 +0000 (23:57 +0000)
commitc1c022342cd2fb526f1dfb79ab1d7f5324e90d4e
tree32a3d4ab62726cdaef86d826571847e3a1bc58f4
parent03f451f2f18cccd80d0d56391c4836da34641a60
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.
source/blender/blenlib/BLI_math_vector.h
source/blender/blenlib/intern/math_vector.c
source/blender/imbuf/intern/tiff.c