Disable Inverse Reti and fixed GUI bug

This commit is contained in:
Desmis 2019-10-07 08:07:30 +02:00
parent 72c182102a
commit 7f5ea7ef6f
2 changed files with 4 additions and 4 deletions

View File

@ -8801,7 +8801,7 @@ void ImProcFunctions::Lab_Local(int call, int sp, float** shbuffer, LabImage * o
transit_shapedetect(30, bufexporig.get(), nullptr, buflight, bufl_ab, nullptr, nullptr, nullptr, false, hueref, chromaref, lumaref, sobelref, 0.f, nullptr, lp, original, transformed, cx, cy, sk);
}
}
lp.invret = false;
lp.invret = false;//always disabled inverse RETI too complex todo !!
if (lp.str >= 0.2f && lp.retiena && call != 2) {
int GW = transformed->W;
int GH = transformed->H;

View File

@ -5292,7 +5292,7 @@ void Locallab::equiltmChanged()
if (getEnabled() && exptonemap->getEnabled()) {
if (listener) {
if (inversret->get_active()) {
if (equiltm->get_active()) {
listener->panelChanged(Evlocallabequiltm, M("GENERAL_ENABLED"));
} else {
listener->panelChanged(Evlocallabequiltm, M("GENERAL_DISABLED"));
@ -5399,7 +5399,7 @@ void Locallab::inversretChanged()
dehaz->show();
depth->show();
softradiuscol->show();
expmaskreti->hide();
expmaskreti->show();
} else {
sensih->show();
dehaz->show();
@ -8423,7 +8423,7 @@ void Locallab::updateSpecificGUIState()
} else if (inversret->get_active()) {
sensih->show();
softradiusret->show();
showmaskretiMethod->hide();
showmaskretiMethod->show();
sensih->show();
softradiusret->show();
}