diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-17 17:44:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-17 17:44:15 +0400 |
commit | 979f6bab9c1aba27b8d018d1481987d841f68ee1 (patch) | |
tree | 162419d475bf68326b3b5e88b25f27057fee6831 /source/blender/compositor/operations/COM_ChromaMatteOperation.cpp | |
parent | fe0d1a381003408dedcd3142a727c77806617150 (diff) |
style cleanup: braces, compositor
Diffstat (limited to 'source/blender/compositor/operations/COM_ChromaMatteOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_ChromaMatteOperation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_ChromaMatteOperation.cpp b/source/blender/compositor/operations/COM_ChromaMatteOperation.cpp index 8e793f08a3b..9556b673c0f 100644 --- a/source/blender/compositor/operations/COM_ChromaMatteOperation.cpp +++ b/source/blender/compositor/operations/COM_ChromaMatteOperation.cpp @@ -72,13 +72,13 @@ void ChromaMatteOperation::executePixel(float* outputValue, float x, float y, Pi /* if kfg is <0 then the pixel is outside of the key color */ kfg= x_angle-(fabsf(z_angle)/tanf(acceptance/2.f)); - if(kfg>0.f) { /* found a pixel that is within key color */ + if (kfg>0.f) { /* found a pixel that is within key color */ alpha=(1.f-kfg)*(gain); beta=atan2(z_angle,x_angle); /* if beta is within the cutoff angle */ - if(fabsf(beta) < (cutoff/2.f)) { + if (fabsf(beta) < (cutoff/2.f)) { alpha=0.f; } |