SSE2 code for BadpixelsLab()

This commit is contained in:
heckflosse
2018-02-16 13:35:10 +01:00
parent 63f14dda7e
commit ad0e05f846
2 changed files with 43 additions and 32 deletions

View File

@@ -196,6 +196,7 @@ void DirPyrEqualizer::read (const ProcParams* pp, const ParamsEdited* pedited)
*/
gamutlabConn.block (true);
gamutlab->set_active (pp->dirpyrequalizer.gamutlab);
gamutlab->set_sensitive (pp->dirpyrequalizer.skinprotect != 0);
gamutlabConn.block (false);
lastgamutlab = pp->dirpyrequalizer.gamutlab;
@@ -339,6 +340,7 @@ void DirPyrEqualizer::adjusterChanged (Adjuster* a, double newval)
Glib::ustring::format(std::fixed, std::setprecision(2), threshold->getValue()))
);
} else if (a == skinprotect) {
gamutlab->set_sensitive (skinprotect->getValue() != 0);
listener->panelChanged (EvDirPyrEqualizerSkin,
Glib::ustring::compose("%1",
Glib::ustring::format(std::fixed, std::setprecision(2), skinprotect->getValue()))