Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/compositor/operations/COM_MixBurnOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_MixBurnOperation.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_MixBurnOperation.cpp b/source/blender/compositor/operations/COM_MixBurnOperation.cpp
index 28b86be5e1e..7cad107c5e9 100644
--- a/source/blender/compositor/operations/COM_MixBurnOperation.cpp
+++ b/source/blender/compositor/operations/COM_MixBurnOperation.cpp
@@ -22,10 +22,12 @@
#include "COM_MixBurnOperation.h"
-MixBurnOperation::MixBurnOperation(): MixBaseOperation() {
+MixBurnOperation::MixBurnOperation(): MixBaseOperation()
+{
}
-void MixBurnOperation::executePixel(float* outputValue, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]) {
+void MixBurnOperation::executePixel(float *outputValue, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[])
+{
float inputColor1[4];
float inputColor2[4];
float value;
@@ -38,7 +40,7 @@ void MixBurnOperation::executePixel(float* outputValue, float x, float y, PixelS
if (this->useValueAlphaMultiply()) {
value *= inputColor2[3];
}
- float valuem= 1.0f-value;
+ float valuem = 1.0f - value;
tmp = valuem + value*inputColor2[0];
if (tmp <= 0.0f)