RedAndSkinTonesProtection was not stored correctly (was still using the old name SaturationLimit, + code cleanup

This commit is contained in:
natureh
2012-08-23 00:16:53 +02:00
parent dbf3e54f7e
commit 6eb08e8c7e
3 changed files with 7 additions and 9 deletions

View File

@@ -585,7 +585,6 @@ void DiagonalCurveEditorSubGroup::restoreDisplayedHistogram() {
void DiagonalCurveEditorSubGroup::storeCurveValues (CurveEditor* ce, const std::vector<double>& p) {
if (!p.empty()) {
DiagonalCurveType t = (DiagonalCurveType)p[0];
for (int i=0; i<(int)p.size(); i++)
switch (t) {
case (DCT_Spline):