Skip to content

Commit 3c8e3e6

Browse files
committed
Change behavior and default value white point
1 parent 171b605 commit 3c8e3e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rtengine/iplocallab.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17206,7 +17206,7 @@ void ImProcFunctions::Lab_Local(
1720617206
ghscur[i + 1] = 0.0416f * i;
1720717207
}
1720817208

17209-
if(D != 0.f || BLP != 0.f || HLP != 1.f || smoth) {
17209+
if(D != 0.f || BLP != 0.f /*|| HLP != 1.f*/ || smoth) {
1721017210
ghsactiv = true;
1721117211
}
1721217212
if (! lp.invsh && (lp.highlihs > 0.f || lp.shadowhs > 0.f || tonequ || tonecurv || ghsactiv || lp.strSH != 0.f || lp.showmaskSHmet == 2 || lp.enaSHMask || lp.showmaskSHmet == 3 || lp.showmaskSHmet == 4 || lp.prevdE) && call <= 3 && lp.hsena) {

rtgui/locallabtools.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4357,7 +4357,7 @@ LocallabShadow::LocallabShadow():
43574357
ghs_MID(Gtk::manage(new Adjuster(M("TP_LOCALLAB_GHS_MID"), -100.0, 100.0, 0.1, 0.0))),
43584358
BP_Frame(Gtk::manage(new Gtk::Frame(M("TP_LOCALLAB_GHS_BLACKPOINT_FRAME")))),
43594359
ghs_BLP(Gtk::manage(new Adjuster(M("TP_LOCALLAB_GHS_BLP"), -0.2, 1.0, 0.0001, 0.0))),
4360-
ghs_HLP(Gtk::manage(new Adjuster(M("TP_LOCALLAB_GHS_HLP"), 0.2002, 3.0, 0.0001, 1.0001))),
4360+
ghs_HLP(Gtk::manage(new Adjuster(M("TP_LOCALLAB_GHS_HLP"), 0.2002, 3.0, 0.0001, 1.))),
43614361
ghsbpwpLabels(Gtk::manage(new Gtk::Label("---"))),
43624362
ghsbpwpvalueLabels(Gtk::manage(new Gtk::Label("---"))),
43634363
ghs_smooth(Gtk::manage(new Gtk::CheckButton(M("TP_LOCALLAB_GHS_SMOOTH")))),

0 commit comments

Comments
 (0)