From 810432f38e29452a0b9fe67d24b6b8e1e7e7b83c Mon Sep 17 00:00:00 2001 From: Emil Martinec Date: Mon, 2 May 2011 20:20:33 -0500 Subject: [PATCH] Restored highlight clipping when highlight reconstruction is turned off. --- rtengine/rawimagesource.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtengine/rawimagesource.cc b/rtengine/rawimagesource.cc index aaaaaa7ba..ad295757c 100644 --- a/rtengine/rawimagesource.cc +++ b/rtengine/rawimagesource.cc @@ -317,12 +317,12 @@ void RawImageSource::getImage (ColorTemp ctemp, int tran, Imagefloat* image, Pre rtot*=rm; gtot*=gm; btot*=bm; - /*if (!hrp.enabled) + if (!hrp.enabled) { rtot=CLIP(rtot); gtot=CLIP(gtot); btot=CLIP(btot); - }*/ + } line_red[j] = rtot; line_grn[j] = gtot; line_blue[j] = btot; @@ -341,12 +341,12 @@ void RawImageSource::getImage (ColorTemp ctemp, int tran, Imagefloat* image, Pre rtot*=rm; gtot*=gm; btot*=bm; - /*if (!hrp.enabled) + if (!hrp.enabled) { rtot=CLIP(rtot); gtot=CLIP(gtot); btot=CLIP(btot); - }*/ + } line_red[j] = rtot; line_grn[j] = gtot; line_blue[j] = btot;