diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 03:50:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 03:51:13 +0300 |
commit | c7041403d0e52a1ddffefb1db5713dbb8e6908c7 (patch) | |
tree | 3eccb37efa2c624af31b5f067e3d3b5242fc0eb4 /source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp | |
parent | 63f0e150edaeea26fbcc48f62597f4f5c71cc64a (diff) |
Cleanup: comments (long lines) in compositor
Diffstat (limited to 'source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp b/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp index c47e4d560a5..704f7cfad39 100644 --- a/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp +++ b/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp @@ -95,7 +95,8 @@ void ConvertDepthToRadiusOperation::executePixelSampled(float output[4], #endif radius = 0.5f * fabsf(this->m_aperture * (this->m_dof_sp * (this->m_inverseFocalDistance - iZ) - 1.0f)); - // 'bug' #6615, limit minimum radius to 1 pixel, not really a solution, but somewhat mitigates the problem + // 'bug' #6615, limit minimum radius to 1 pixel, not really a solution, but somewhat mitigates + // the problem if (radius < 0.0f) { radius = 0.0f; } |