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:
authorCampbell Barton <ideasman42@gmail.com>2021-06-26 14:35:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-26 14:50:48 +0300
commitf1e49038543cf75766f4a220f62cdc6cdbc0e27d (patch)
tree0cec2c64739a6a4ca246fe26bed6fe629ea315cb /source/blender/compositor/operations/COM_DifferenceMatteOperation.cc
parentfae5a907d4d1380f087f1226ebbd65d9d0718cc6 (diff)
Cleanup: full sentences in comments, improve comment formatting
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;
}