Local adjustments - GUI 'full image' - allows you to use the local adjustment tools on the whole image (#6063)

* Init Full image auto mode

* Add tooltip for full image

* Change tootip

* Added tooltip to Full image

* Slighly change tooltip
This commit is contained in:
Desmis
2021-01-17 08:51:37 +01:00
committed by GitHub
parent ea6bb8fcf7
commit 2ea7b02f2a
4 changed files with 60 additions and 8 deletions

View File

@@ -269,8 +269,10 @@ void Locallab::read(const rtengine::procparams::ProcParams* pp, const ParamsEdit
if (pp->locallab.spots.at(i).spotMethod == "norm") {
r->spotMethod = 0;
} else {
} else if(pp->locallab.spots.at(i).spotMethod == "exc"){
r->spotMethod = 1;
} else if (pp->locallab.spots.at(i).spotMethod == "full"){
r->spotMethod = 2;
}
r->sensiexclu = pp->locallab.spots.at(i).sensiexclu;
@@ -426,8 +428,10 @@ void Locallab::write(rtengine::procparams::ProcParams* pp, ParamsEdited* pedited
if (newSpot->spotMethod == "norm") {
r->spotMethod = 0;
} else {
} else if(newSpot->spotMethod == "exc") {
r->spotMethod = 1;
} else if(newSpot->spotMethod == "full") {
r->spotMethod = 2;
}
r->sensiexclu = newSpot->sensiexclu;
@@ -711,8 +715,10 @@ void Locallab::write(rtengine::procparams::ProcParams* pp, ParamsEdited* pedited
if (newSpot->spotMethod == "norm") {
r->spotMethod = 0;
} else {
} else if (newSpot->spotMethod == "exc") {
r->spotMethod = 1;
} else if (newSpot->spotMethod == "full") {
r->spotMethod = 2;
}
r->sensiexclu = newSpot->sensiexclu;
@@ -878,8 +884,10 @@ void Locallab::write(rtengine::procparams::ProcParams* pp, ParamsEdited* pedited
if (r->spotMethod == 0) {
pp->locallab.spots.at(pp->locallab.selspot).spotMethod = "norm";
} else {
} else if (r->spotMethod == 1){
pp->locallab.spots.at(pp->locallab.selspot).spotMethod = "exc";
} else if (r->spotMethod == 2) {
pp->locallab.spots.at(pp->locallab.selspot).spotMethod = "full";
}
pp->locallab.spots.at(pp->locallab.selspot).sensiexclu = r->sensiexclu;