another small change

This commit is contained in:
Desmis 2017-02-07 10:09:02 +01:00
parent a7684624ec
commit 0b9b74bcd4
4 changed files with 5 additions and 5 deletions

View File

@ -838,7 +838,7 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
int t_invers = 0;
int t_Smeth = 0;
int t_currentspot = 1;
int t_radius = 0;
int t_radius = 1;
int t_strength = 0;
int t_sensibn = 60;
int t_inversrad = 0;
@ -1483,7 +1483,7 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
int t_invers = 0;
int t_Smeth = 0;
int t_currentspot = 1;
int t_radius = 0;
int t_radius = 1;
int t_strength = 0;
int t_sensibn = 60;
int t_inversrad = 0;

View File

@ -3766,12 +3766,12 @@ void ImProcFunctions::Lab_Local (int call, int sp, float** shbuffer, LabImage *
//Blur and noise
//printf("rad=%f gaus=%f\n", radius, GAUSS_SKIP);
if (((radius >= 1.5 * GAUSS_SKIP && lp.rad > 1.) || lp.stren > 0.1) && lp.blurena) { // radius < GAUSS_SKIP means no gauss, just copy of original image
LabImage *tmp1;
LabImage *bufgb;
int GW = transformed->W;
int GH = transformed->H;
printf ("rad=%f gaus=%f call=%i skip=%i\n", radius, GAUSS_SKIP, call, sk);
if (call == 2 && !lp.invrad) { //simpleprocess
int bfh = int (lp.ly + lp.lyT) + del; //bfw bfh real size of square zone

View File

@ -916,7 +916,7 @@ void LocallabParams::setDefaults()
invers = false;
curvactiv = false;
activlum = false;
radius = 0;
radius = 1;
inversrad = false;
inversret = false;
inverssha = false;

View File

@ -68,7 +68,7 @@ Locallab::Locallab ():
contrast (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_CONTRAST"), -100, 100, 1, 0))),
chroma (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_CHROMA"), -100, 150, 1, 0))),
sensi (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_SENSI"), 0, 100, 1, 19))),
radius (Gtk::manage ( new Adjuster (M ("TP_LOCALLAB_RADIUS"), 0, 100, 1, 0) )),
radius (Gtk::manage ( new Adjuster (M ("TP_LOCALLAB_RADIUS"), 1, 100, 1, 1) )),
strength (Gtk::manage ( new Adjuster (M ("TP_LOCALLAB_STRENGTH"), 0, 100, 1, 0) )),
sensibn (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_SENSIBN"), 0, 100, 1, 60))),
transit (Gtk::manage (new Adjuster (M ("TP_LOCALLAB_TRANSIT"), 5, 95, 1, 60))),