Bugfix for [#31692] Blur Node (Flat) X size affects Y size, Y size does nothing
authorThomas Dinges <blender@dingto.org>
Sun, 3 Jun 2012 15:44:11 +0000 (15:44 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 3 Jun 2012 15:44:11 +0000 (15:44 +0000)
* GaussianYBlurOperation accessed sizex instead of sizey.

source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp

index 1760a281785aa3d2c153f995e7388120a1297486..cab3e3d60948481492d6164f22d0849d250f9151 100644 (file)
@@ -45,7 +45,7 @@ void *GaussianYBlurOperation::initializeTileData(rcti *rect, MemoryBuffer **memo
 void GaussianYBlurOperation::initExecution()
 {
        if (this->sizeavailable) {
-               float rad = size*this->data->sizex;
+               float rad = size*this->data->sizey;
                if (rad<1)
                        rad = 1;