diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-29 16:11:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-29 16:15:21 +0300 |
commit | 133f79e4492eca400d0e043733d43ca522cdb2b9 (patch) | |
tree | 52e0636dee671820e46b5bacdf5f799b48877db1 /source/blender/compositor | |
parent | 5c633d3ba0601afc08e7e7f5021e3c23b94d07f6 (diff) |
Cleanup: warnings, typos
Diffstat (limited to 'source/blender/compositor')
-rw-r--r-- | source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp b/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp index ea1443598a9..fa9a957f83c 100644 --- a/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp +++ b/source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.cpp @@ -60,7 +60,7 @@ void ConvertDepthToRadiusOperation::initExecution() this->m_inputOperation = this->getInputSocketReader(0); float focalDistance = determineFocalDistance(); - if (focalDistance == 0.0f) focalDistance = 1e10f; /* if the dof is 0.0 then set it be be far away */ + if (focalDistance == 0.0f) focalDistance = 1e10f; /* if the dof is 0.0 then set it to be far away */ this->m_inverseFocalDistance = 1.0f / focalDistance; this->m_aspect = (this->getWidth() > this->getHeight()) ? (this->getHeight() / (float)this->getWidth()) : (this->getWidth() / (float)this->getHeight()); this->m_aperture = 0.5f * (this->m_cam_lens / (this->m_aspect * cam_sensor)) / this->m_fStop; |