Extend range of exposure slider. See issue 482.

This commit is contained in:
Emil Martinec
2011-01-20 08:35:33 -06:00
parent a2acaaba19
commit 810ac2ce42
2 changed files with 3 additions and 3 deletions

View File

@@ -647,8 +647,8 @@ void ImProcFunctions::getAutoExp (unsigned int* histogram, int histcompr, doubl
bl = (int)((65535*bl)/awg);
br = log(65535.0*corr / (awg)) / log(2.0);
if (br<0)
br = 0;
if (br<0) br = 0;
if (br>10) br=10;
}
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

View File

@@ -49,7 +49,7 @@ ToneCurve::ToneCurve () : ToolPanel(), expAdd(false),hlcompAdd(false),hlcompthre
pack_start (*Gtk::manage (new Gtk::HSeparator()));
//----------- Exposure Compensation ------------------------
expcomp = Gtk::manage (new Adjuster (M("TP_EXPOSURE_EXPCOMP"), -5, 5, 0.01, 0));
expcomp = Gtk::manage (new Adjuster (M("TP_EXPOSURE_EXPCOMP"), -5, 10, 0.01, 0));
pack_start (*expcomp);
hlcompr = Gtk::manage (new Adjuster (M("TP_EXPOSURE_COMPRHIGHLIGHTS"), 0, 100, 1, 70));
pack_start (*hlcompr);