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_DifferenceMatteOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_DifferenceMatteOperation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_DifferenceMatteOperation.cc b/source/blender/compositor/operations/COM_DifferenceMatteOperation.cc
index e380131634f..0acdfc1651f 100644
--- a/source/blender/compositor/operations/COM_DifferenceMatteOperation.cc
+++ b/source/blender/compositor/operations/COM_DifferenceMatteOperation.cc
@@ -68,11 +68,11 @@ void DifferenceMatteOperation::executePixelSampled(float output[4],
if (difference <= tolerance) {
output[0] = 0.0f;
}
- /*in the falloff region, make partially transparent */
+ /* In the falloff region, make partially transparent. */
else if (difference <= falloff + tolerance) {
difference = difference - tolerance;
alpha = difference / falloff;
- /*only change if more transparent than before */
+ /* Only change if more transparent than before. */
if (alpha < inColor1[3]) {
output[0] = alpha;
}