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_MixSoftLightOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_MixSoftLightOperation.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_MixSoftLightOperation.cpp b/source/blender/compositor/operations/COM_MixSoftLightOperation.cpp
index 3195b3440ec..ea6a3ddd498 100644
--- a/source/blender/compositor/operations/COM_MixSoftLightOperation.cpp
+++ b/source/blender/compositor/operations/COM_MixSoftLightOperation.cpp
@@ -22,10 +22,12 @@
#include "COM_MixSoftLightOperation.h"
-MixSoftLightOperation::MixSoftLightOperation(): MixBaseOperation() {
+MixSoftLightOperation::MixSoftLightOperation(): MixBaseOperation()
+{
}
-void MixSoftLightOperation::executePixel(float* outputValue, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[]) {
+void MixSoftLightOperation::executePixel(float *outputValue, float x, float y, PixelSampler sampler, MemoryBuffer *inputBuffers[])\
+{
float inputColor1[4];
float inputColor2[4];
float value;
@@ -37,7 +39,7 @@ void MixSoftLightOperation::executePixel(float* outputValue, float x, float y, P
if (this->useValueAlphaMultiply()) {
value *= inputColor2[3];
}
- float valuem = 1.0f-value;
+ float valuem = 1.0f - value;
float scr, scg, scb;
/* first calculate non-fac based Screen mix */