diff --git a/rtengine/improccoordinator.cc b/rtengine/improccoordinator.cc index aebfe2632..48342087b 100644 --- a/rtengine/improccoordinator.cc +++ b/rtengine/improccoordinator.cc @@ -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; diff --git a/rtengine/iplocallab.cc b/rtengine/iplocallab.cc index 1b26a22dc..d37b3ab89 100644 --- a/rtengine/iplocallab.cc +++ b/rtengine/iplocallab.cc @@ -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 diff --git a/rtengine/procparams.cc b/rtengine/procparams.cc index 6262cb434..849992f47 100644 --- a/rtengine/procparams.cc +++ b/rtengine/procparams.cc @@ -916,7 +916,7 @@ void LocallabParams::setDefaults() invers = false; curvactiv = false; activlum = false; - radius = 0; + radius = 1; inversrad = false; inversret = false; inverssha = false; diff --git a/rtgui/locallab.cc b/rtgui/locallab.cc index 547bc5c74..135241310 100644 --- a/rtgui/locallab.cc +++ b/rtgui/locallab.cc @@ -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))),