diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-06-14 07:11:36 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-06-14 07:11:36 +0400 |
commit | fac417a3baf132e7d04540e1fbdefe7d3a1fa17b (patch) | |
tree | e167461558b6b239a12a16fefe16df5faeba2137 /source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp | |
parent | cc82653b728408d5e30524549a419fe20fa6a967 (diff) |
Fixed glares
Diffstat (limited to 'source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp b/source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp index 4acc8aa17f0..1bdbdf71bdc 100644 --- a/source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp +++ b/source/blender/compositor/operations/COM_GlareFogGlowOperation.cpp @@ -322,7 +322,7 @@ void convolve(float* dst, MemoryBuffer* in1, MemoryBuffer* in2) memset(data2, 0, w2*h2*sizeof(fREAL)); for (y=0; y<ybsz; y++) { int yy = ybl*ybsz + y; - if (yy >= kernelHeight) continue; + if (yy >= imageHeight) continue; fp = &data2[y*w2]; colp = (fRGB*)&imageBuffer[yy*imageWidth*COM_NUMBER_OF_CHANNELS]; for (x=0; x<xbsz; x++) { |