Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2012-05-24 10:16:05 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-05-24 10:16:05 +0400
commit5f677f995d204c378f7aad3de826b2e193276487 (patch)
tree6ae6b2d5a64c02002ff68acab9aa4aa66f818b2d /source/blender/compositor
parentc52a85fa7b1c16fa086aba8e81c69f21ba79259c (diff)
* removed clamp from color correction
Diffstat (limited to 'source/blender/compositor')
-rw-r--r--source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp b/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp
index 45750244d87..af28b776892 100644
--- a/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp
+++ b/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp
@@ -98,9 +98,6 @@ void ColorCorrectionOperation::executePixel(float *output, float x, float y, Pix
r = (luma + saturation * (r - luma));
g = (luma + saturation * (g - luma));
b = (luma + saturation * (b - luma));
- CLAMP (r, 0.0f, 1.0f);
- CLAMP (g, 0.0f, 1.0f);
- CLAMP (b, 0.0f, 1.0f);
r = 0.5+((r-0.5)*contrast);
g = 0.5+((g-0.5)*contrast);