diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-02 16:44:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-02 16:44:09 +0400 |
commit | 6e17d1a5e01a13a121cc8ced0f16b84cdc9495f4 (patch) | |
tree | 2a2b564f065428e153136fdec6cc3eb64c711a60 /source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp | |
parent | f8112b40a6e9bba0b9d9406d0f42a8468fd6ab1a (diff) |
fix for compositor regression where blur note offset the image one pixel to the top right.
Diffstat (limited to 'source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp b/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp index 02627bae5ed..433771d2c0c 100644 --- a/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp +++ b/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp @@ -96,7 +96,7 @@ void GaussianYBlurOperation::executePixel(float output[4], int x, int y, void *d int index; int step = getStep(); const int bufferIndexx = ((minx - bufferstartx) * 4); - for (int ny = miny; ny < maxy; ny += step) { + for (int ny = miny; ny <= maxy; ny += step) { index = (ny - y) + this->m_rad; int bufferindex = bufferIndexx + ((ny - bufferstarty) * 4 * bufferwidth); const float multiplier = this->m_gausstab[index]; |