diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-14 12:12:45 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-14 12:12:45 +0300 |
commit | 1c870f46e79c6378488bd84ed9ffbb40affae464 (patch) | |
tree | 602b7b04cd5313194f2e9266442e8dd61bbee057 /source/blender/compositor/operations/COM_DistanceRGBMatteOperation.cpp | |
parent | de9ec80e644bb86a3ebb258db9135c3ee32bdcac (diff) |
Compositor: Cleanup, don't shortcut float values
Use 0.0f instead of 0.f and so on.
Diffstat (limited to 'source/blender/compositor/operations/COM_DistanceRGBMatteOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_DistanceRGBMatteOperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.cpp b/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.cpp index 072ca1022e7..b9e6864b340 100644 --- a/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.cpp +++ b/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.cpp @@ -71,7 +71,7 @@ void DistanceRGBMatteOperation::executePixelSampled(float output[4], float x, fl /*make 100% transparent */ if (distance < tolerance) { - output[0] = 0.f; + output[0] = 0.0f; } /*in the falloff region, make partially transparent */ else if (distance < falloff + tolerance) { |