Adding per curve default curve capabilities, used in the Color Toning tool as of now. See issue 2014

This commit is contained in:
Hombre
2014-07-15 22:07:11 +02:00
parent 918a922499
commit 1921141cb7
20 changed files with 247 additions and 183 deletions

View File

@@ -376,13 +376,14 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall) {
if(params.blackwhite.enabled) {actListener->autoColorTonChanged(0, satTH, satPR);}
else {
if(params.colorToning.autosat){
if(params.colorToning.method=="Lab") indi=1;
else if(params.colorToning.method=="RGBCurves") indi=1;
else if(params.colorToning.method=="RGBSliders") indi=1;
else if(params.colorToning.method=="Splico") indi=2;
else if(params.colorToning.method=="Splitlr") indi=2;
actListener->autoColorTonChanged(indi, satTH, satPR);}
if(params.colorToning.method=="Lab") indi=1;
else if(params.colorToning.method=="RGBCurves") indi=1;
else if(params.colorToning.method=="RGBSliders") indi=1;
else if(params.colorToning.method=="Splico") indi=2;
else if(params.colorToning.method=="Splitlr") indi=2;
actListener->autoColorTonChanged(indi, satTH, satPR);
}
}
}
// if it's just crop we just need the histogram, no image updates