From 979f6bab9c1aba27b8d018d1481987d841f68ee1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 17 May 2012 13:44:15 +0000 Subject: style cleanup: braces, compositor --- source/blender/compositor/operations/COM_ChannelMatteOperation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/compositor/operations/COM_ChannelMatteOperation.cpp') diff --git a/source/blender/compositor/operations/COM_ChannelMatteOperation.cpp b/source/blender/compositor/operations/COM_ChannelMatteOperation.cpp index b595aca3c46..10ff140f8be 100644 --- a/source/blender/compositor/operations/COM_ChannelMatteOperation.cpp +++ b/source/blender/compositor/operations/COM_ChannelMatteOperation.cpp @@ -97,10 +97,10 @@ void ChannelMatteOperation::executePixel(float* outputValue, float x, float y, P alpha = 1.f - alpha; /* test range*/ - if(alpha > limit_max) { + if (alpha > limit_max) { alpha = inColor[3]; /*whatever it was prior */ } - else if(alpha < limit_min){ + else if (alpha < limit_min) { alpha = 0.f; } else {/*blend */ -- cgit v1.2.3