Fix crash in histogram in image window when image buffer contains
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 21 Jan 2010 13:06:44 +0000 (13:06 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 21 Jan 2010 13:06:44 +0000 (13:06 +0000)
commit48f48fa814ec08f7c46429af3ebf6c24d65141aa
treea62a4051c1a1a5d1808f7ba944ff005517eac6af
parente9b0956b55bfdb6476f3805045d1686fdeaa0c57
Fix crash in histogram in image window when image buffer contains
NaN values, now clamps integer instead of float to prevent this.
source/blender/blenkernel/intern/colortools.c