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.