Fixed bug in GUI preferences - local adjustements

This commit is contained in:
Desmis
2017-09-20 17:43:33 +02:00
parent 14ff0b92a0
commit 281b196b8b
2 changed files with 27 additions and 20 deletions

View File

@@ -1515,9 +1515,15 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
}
if (versionmip == 10009) {
maxind = 58;
maxind = 69;
}
// I have forgotten 10010 ==> probably crash...but now it's passed...
//enabled this code after...
// if (versionmip == 10011) {
// maxind = 70;
// }
while (getline (fich, line)) {
spotline = line;
std::size_t pos = spotline.find ("=");
@@ -1663,7 +1669,7 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
}
if (versionmip == 10008) {
//vibrance
for (int sp = 1; sp < maxspot; sp++) { // spots default
dataspot[58][sp] = 19;
@@ -1678,7 +1684,7 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
}
}
if (versionmip == 10009) {
if (versionmip == 10009) {//exposure
for (int sp = 1; sp < maxspot; sp++) { // spots default
dataspot[64][sp] = 0;
dataspot[65][sp] = 0;