From e0d4ab9e89ffd71ef80041c8928b6b02ab028771 Mon Sep 17 00:00:00 2001 From: Hombre Date: Sat, 12 Nov 2011 11:36:26 +0100 Subject: [PATCH] Solving issue 1108: Exposure's HL compression trimmed to 100 when reopening an image --- rtengine/procparams.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/rtengine/procparams.cc b/rtengine/procparams.cc index 1ac64a271..13acd6578 100644 --- a/rtengine/procparams.cc +++ b/rtengine/procparams.cc @@ -614,7 +614,6 @@ if (keyFile.has_group ("Exposure")) { if (keyFile.has_key ("Exposure", "Saturation")) toneCurve.saturation = keyFile.get_integer ("Exposure", "Saturation"); if (keyFile.has_key ("Exposure", "Black")) toneCurve.black = keyFile.get_integer ("Exposure", "Black"); if (keyFile.has_key ("Exposure", "HighlightCompr")) toneCurve.hlcompr = keyFile.get_integer ("Exposure", "HighlightCompr"); - if (toneCurve.hlcompr > 100) toneCurve.hlcompr = 100; // older pp3 files can have values above 100. if (keyFile.has_key ("Exposure", "HighlightComprThreshold")) toneCurve.hlcomprthresh = keyFile.get_integer ("Exposure", "HighlightComprThreshold"); if (keyFile.has_key ("Exposure", "ShadowCompr")) toneCurve.shcompr = keyFile.get_integer ("Exposure", "ShadowCompr"); if (toneCurve.shcompr > 100) toneCurve.shcompr = 100; // older pp3 files can have values above 100.