diff options
-rw-r--r-- | source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp b/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp index 3299434a02e..1e19c293314 100644 --- a/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp +++ b/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp @@ -47,9 +47,9 @@ void ScreenLensDistortionOperation::initExecution() drg = 4.f * (kg - kr); dgb = 4.f * (kb - kg); - kr4 = kr * 4; + kr4 = kr * 4.f; kg4 = kg * 4.f; - kb4 *= kb * 4.f; + kb4 = kb * 4.f; cx = 0.5f * (float)getWidth(); cy = 0.5f * (float)getHeight(); |