diff options
author | Valentin <Poulpator> | 2020-09-30 13:09:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-30 13:11:06 +0300 |
commit | 5ac477805637f20b8ac5e742457fa8f304066d83 (patch) | |
tree | 6e0ccbf01192495fe030a2ac6c05edaf33e0376c /source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp | |
parent | c0a563ffe814f227411f6b6ce6276a780245ccea (diff) |
Cleanup: convert gforge task ID's to phabricator format
Cleanup old tracker task format to the new. e.g: [#34039] to T34039
Ref D8718
Diffstat (limited to 'source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp b/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp index 50f8eab5fbc..1a1ea794d24 100644 --- a/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp +++ b/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp @@ -86,7 +86,7 @@ void ConvertDepthToRadiusOperation::executePixelSampled(float output[4], if (z != 0.0f) { float iZ = (1.0f / z); - // bug #6656 part 2b, do not rescale + /* bug T6656 part 2b, do not re-scale. */ #if 0 bcrad = 0.5f * fabs(aperture * (dof_sp * (cam_invfdist - iZ) - 1.0f)); // scale crad back to original maximum and blend @@ -94,8 +94,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' T6615, limit minimum radius to 1 pixel, + * not really a solution, but somewhat mitigates the problem. */ if (radius < 0.0f) { radius = 0.0f; } |