Suppress unused wavelet parameters issue4318

This commit is contained in:
Desmis
2018-01-22 10:06:40 +01:00
parent 5342e75289
commit dbe3d55e33
3 changed files with 0 additions and 18 deletions

View File

@@ -1878,8 +1878,6 @@ void ImProcFunctions::WaveletcontAllL(LabImage * labco, float ** varhue, float *
//one can also chnage in calckoe
float edd = settings->ed_detec;
float eddlow = settings->ed_low; //5 to 40
// float eddlipinfl=settings->ed_lipinfl;
// float eddlipampl=settings->ed_lipampl;
float eddlipinfl = 0.005f * cp.edgsens + 0.4f;
float eddlipampl = 1.f + cp.edgampl / 50.f;
// float eddlow=5.f + cp.edgampl/2.f;//settings->ed_low;//5 to 40

View File

@@ -90,8 +90,6 @@ public:
double ed_detec;
double ed_detecStr;
double ed_low;
double ed_lipinfl;
double ed_lipampl;
Glib::ustring lensfunDbDirectory; ///< The directory containing the lensfun database. If empty, the system defaults will be used (as described in http://lensfun.sourceforge.net/manual/dbsearch.html)

View File

@@ -567,8 +567,6 @@ void Options::setDefaults ()
rtSettings.ed_detec = 3; //between 2 and 10
rtSettings.ed_detecStr = 1.3; //not use
rtSettings.ed_low = 15.; //between 5 to 40
rtSettings.ed_lipinfl = 0.8; //between 0.5 to 0.9
rtSettings.ed_lipampl = 1.1; //between 1 and 2
rtSettings.ciecamfloat = true;
@@ -747,15 +745,6 @@ void Options::readFromFile (Glib::ustring fname)
rtSettings.ed_low = keyFile.get_double ("General", "EDLow");
}
if (keyFile.has_key ("General", "EDLipinfl")) {
rtSettings.ed_lipinfl = keyFile.get_double ("General", "EDLipinfl");
}
if (keyFile.has_key ("General", "EDLipampl")) {
rtSettings.ed_lipampl = keyFile.get_double ("General", "EDLipampl");
}
}
if (keyFile.has_group ("External Editor")) {
@@ -1847,9 +1836,6 @@ void Options::saveToFile (Glib::ustring fname)
keyFile.set_double ("General", "EDdetec", rtSettings.ed_detec);
keyFile.set_double ("General", "EDdetecStr", rtSettings.ed_detecStr);
keyFile.set_double ("General", "EDLow", rtSettings.ed_low);
keyFile.set_double ("General", "EDLipinfl", rtSettings.ed_lipinfl);
keyFile.set_double ("General", "EDLipampl", rtSettings.ed_lipampl);
keyFile.set_integer ("External Editor", "EditorKind", editorToSendTo);
keyFile.set_string ("External Editor", "GimpDir", gimpDir);