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_FastGaussianBlurOperation.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_FastGaussianBlurOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_FastGaussianBlurOperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cpp b/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cpp index 968319b3f46..b83ebdd0913 100644 --- a/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cpp +++ b/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cpp @@ -91,7 +91,7 @@ void *FastGaussianBlurOperation::initializeTileData(rcti *rect) this->m_sx = this->m_data.sizex * this->m_size / 2.0f; this->m_sy = this->m_data.sizey * this->m_size / 2.0f; - if ((this->m_sx == this->m_sy) && (this->m_sx > 0.f)) { + if ((this->m_sx == this->m_sy) && (this->m_sx > 0.0f)) { for (c = 0; c < COM_NUM_CHANNELS_COLOR; ++c) IIR_gauss(copy, this->m_sx, c, 3); } |