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:
authorMatt Ebb <matt@mke3.net>2010-01-29 02:41:34 +0300
committerMatt Ebb <matt@mke3.net>2010-01-29 02:41:34 +0300
commitcb499c9df4dd1983f74810024119dc204075c0db (patch)
treeba8dd31f520d09cc43585eca8528d13eabd1d3dc /source/blender/blenkernel/intern/colortools.c
parent21b7556bf757bdae0e0f2af3437f57345358aa9f (diff)
* Partially converted constraint template to layout engine
* Removed old code
Diffstat (limited to 'source/blender/blenkernel/intern/colortools.c')
-rw-r--r--source/blender/blenkernel/intern/colortools.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c
index 3c30332b18d..02cfae2bba3 100644
--- a/source/blender/blenkernel/intern/colortools.c
+++ b/source/blender/blenkernel/intern/colortools.c
@@ -791,8 +791,7 @@ void curvemapping_do_ibuf(CurveMapping *cumap, ImBuf *ibuf)
pix_in= ibuf->rect_float;
pix_out= tmpbuf->rect_float;
-// pixc= (char *)ibuf->rect;
-
+
if(ibuf->channels)
stride= ibuf->channels;
@@ -818,7 +817,6 @@ void curvemapping_do_ibuf(CurveMapping *cumap, ImBuf *ibuf)
SWAP(unsigned int *, tmpbuf->rect, ibuf->rect);
IMB_freeImBuf(tmpbuf);
-
curvemapping_premultiply(cumap, 1);
}