diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-28 18:23:44 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-28 18:23:44 +0300 |
commit | 6f78c1371d82d492cc13602fbeb786cc53962b98 (patch) | |
tree | a851eb0ee96a3864dcee5cb8107acea26cbe6655 /source/blender/nodes/intern/CMP_nodes | |
parent | 6af5a98c7e720c59b09a00aa951e850bd0b37159 (diff) |
Bugfix: compositor Blur node Bokeh option gave wrong results at the
bottom pixels of the image.
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_blur.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_blur.c b/source/blender/nodes/intern/CMP_nodes/CMP_blur.c index 3d6b3dd2955..e7e799b6e76 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_blur.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_blur.c @@ -398,7 +398,7 @@ static void bokeh_single_image(bNode *node, CompBuf *new, CompBuf *img, float fa int maxyr= y+rady>imgy-1?imgy-y-1:rady; float *destd= new->rect + pix*( (y + minyr)*imgx + x + minxr); - float *dgausd= gausstab + (minyr+rady)*2*radx + minxr+radx; + float *dgausd= gausstab + (minyr+rady)*(2*radx+1) + minxr+radx; if(x<=0) src= srcd; else if(x<imgx) src+= pix; |