[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46963] trunk/blender/source/blender/ compositor/operations/COM_ColorCorrectionOperation.cpp: * removed clamp from color correction

Jeroen Bakker j.bakker at atmind.nl
Thu May 24 08:16:06 CEST 2012


Revision: 46963
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46963
Author:   jbakker
Date:     2012-05-24 06:16:05 +0000 (Thu, 24 May 2012)
Log Message:
-----------
 * removed clamp from color correction

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp

Modified: trunk/blender/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp	2012-05-24 04:46:01 UTC (rev 46962)
+++ trunk/blender/source/blender/compositor/operations/COM_ColorCorrectionOperation.cpp	2012-05-24 06:16:05 UTC (rev 46963)
@@ -98,9 +98,6 @@
 	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);




More information about the Bf-blender-cvs mailing list