Abstract profile fixed crash when by=0.5 and all sliders to minimum
This commit is contained in:
@@ -513,7 +513,7 @@ void ImProcFunctions::workingtrc(const Imagefloat* src, Imagefloat* dst, int cw,
|
||||
bluxx = 0.55f * (blugraphx + 1.f) - 0.1f;
|
||||
bluxx = rtengine::LIM(bluxx, -0.1f, 0.5f);
|
||||
bluyy = 0.55f * (blugraphy + 1.f) - 0.1f;
|
||||
bluyy = rtengine::LIM(bluyy, -0.1f, 0.5f);
|
||||
bluyy = rtengine::LIM(bluyy, -0.1f, 0.49f);
|
||||
grexx = 0.55f * (gregraphx + 1.f) - 0.1f;
|
||||
grexx = rtengine::LIM(grexx, -0.1f, 0.4f);
|
||||
greyy = 0.55f * (gregraphy + 1.f) - 0.1f;
|
||||
|
@@ -305,7 +305,7 @@ ICMPanel::ICMPanel() : FoldableToolPanel(this, "icm", M("TP_ICM_LABEL")), iuncha
|
||||
setExpandAlignProperties(grey, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER);
|
||||
blux = Gtk::manage(new Adjuster(M("TC_PRIM_BLUX"), -0.1, 0.4, 0.0001, 0.0366));
|
||||
setExpandAlignProperties(blux, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER);
|
||||
bluy = Gtk::manage(new Adjuster(M("TC_PRIM_BLUY"), -0.1, 0.5, 0.0001, 0.0001));
|
||||
bluy = Gtk::manage(new Adjuster(M("TC_PRIM_BLUY"), -0.1, 0.49, 0.0001, 0.0001));
|
||||
setExpandAlignProperties(bluy, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER);
|
||||
|
||||
redx->set_tooltip_text(M("TP_ICM_PRIMRED_TOOLTIP"));
|
||||
|
Reference in New Issue
Block a user