diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_ChannelMatteOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_ChannelMatteOperation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |