(Partiallu) Solving issue #705 : Exposure slider does not behave the same between RT3.0 and Dev-3.1

There's still a blue top and left edge appearing in the test image, but it may be another bug
This commit is contained in:
Hombre
2011-06-08 01:33:10 +02:00
parent 291bb4257a
commit 0542a8eafe
2 changed files with 2 additions and 2 deletions

View File

@@ -249,7 +249,7 @@ void ImProcFunctions::firstAnalysis (Image16* original, const ProcParams* params
for (int j=0; j<T; j++)
histogram[i] += hist[j][i];
chroma_scale = 32768*32768 / (3*chroma_radius);
chroma_scale = 100; // 32768*32768 / (3*chroma_radius);
//printf ("chroma_radius= %d chroma_scale= %d\n",chroma_radius,chroma_scale);
delete [] cr;

View File

@@ -26,7 +26,7 @@ using namespace rtengine::procparams;
RAWExposure::RAWExposure () : Gtk::VBox(), FoldableToolPanel(this)
{
PexPos = Gtk::manage(new Adjuster (M("TP_RAWEXPOS_LINEAR"),0.2,4.0,0.1,1));
PexPos = Gtk::manage(new Adjuster (M("TP_RAWEXPOS_LINEAR"),0.2,16.0,0.1,1));
PexPos->setAdjusterListener (this);
if (PexPos->delay < 1000) PexPos->delay = 1000;
PexPos->show();