Small bugfix in rtgui/retinex.cc, no issue
This commit is contained in:
@@ -998,11 +998,13 @@ void Retinex::write (ProcParams* pp, ParamsEdited* pedited)
|
|||||||
void Retinex::retinexMethodChanged()
|
void Retinex::retinexMethodChanged()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (!batchMode) {
|
||||||
if(retinexMethod->get_active_row_number() == 3) {
|
if(retinexMethod->get_active_row_number() == 3) {
|
||||||
highl->show();
|
highl->show();
|
||||||
} else {
|
} else {
|
||||||
highl->hide();
|
highl->hide();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (listener) {
|
if (listener) {
|
||||||
listener->panelChanged (EvretinexMethod, retinexMethod->get_active_text ());
|
listener->panelChanged (EvretinexMethod, retinexMethod->get_active_text ());
|
||||||
@@ -1014,6 +1016,7 @@ void Retinex::retinexMethodChanged()
|
|||||||
void Retinex::mapMethodChanged()
|
void Retinex::mapMethodChanged()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (!batchMode) {
|
||||||
if(mapMethod->get_active_row_number() == 1 /*|| mapMethod->get_active_row_number() == 2*/) {
|
if(mapMethod->get_active_row_number() == 1 /*|| mapMethod->get_active_row_number() == 2*/) {
|
||||||
curveEditormap->show();
|
curveEditormap->show();
|
||||||
highlights->show();
|
highlights->show();
|
||||||
@@ -1035,7 +1038,7 @@ void Retinex::mapMethodChanged()
|
|||||||
shadows->hide();
|
shadows->hide();
|
||||||
s_tonalwidth->hide();
|
s_tonalwidth->hide();
|
||||||
radius->hide();
|
radius->hide();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (listener) {
|
if (listener) {
|
||||||
|
Reference in New Issue
Block a user