diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-04 16:30:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-04 16:30:16 +0400 |
commit | 9ff4fa667108eeecfaaaae477b9e3708c0db5eab (patch) | |
tree | 025fd5ede7537919d4c70ee2423ebefc2853ae57 /source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp | |
parent | 2390c95cf1435c19adcb22263b27750ea3ca81e7 (diff) |
style cleanup
Diffstat (limited to 'source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp b/source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp index f7ad3115f24..74043e187bc 100644 --- a/source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp +++ b/source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp @@ -286,7 +286,8 @@ void GaussianBlurReferenceOperation::executePixel(float *color, int x, int y, vo if (refradx == 1 && refrady == 1) { memorybuffer->readNoCheck(color, x, y); - } else { + } + else { int minxr = x - refradx < 0 ? -x : -refradx; int maxxr = x + refradx > imgx ? imgx - x : refradx; int minyr = y - refrady < 0 ? -y : -refrady; |