Some small changes to spotduplicated - message - etc

This commit is contained in:
Desmis
2018-01-31 08:19:56 +01:00
parent 7671edbca7
commit 0c1b471ea1
2 changed files with 2 additions and 1 deletions

View File

@@ -845,6 +845,7 @@ HISTORY_MSG_LOCLOCY;Local - Bottom
HISTORY_MSG_LOCBILATERAL;Local - deNoise bilateral
HISTORY_MSG_LOCNOISELEQUAL;Local - deNoise Equal. Black-White
HISTORY_MSG_LOCSHAPEMETH;Local - Shape Rt-spot method
HISTORY_MSG_LOCSPOTDUP;Local - Spot duplicated
HISTORY_MSG_COLORTONING_LABGRID_VALUE;CT - Color correction
HISTORY_MSG_HISTMATCHING;Auto-matched Tone Curve
HISTORY_MSG_LOCALCONTRAST_AMOUNT;Local Contrast - Amount

View File

@@ -2469,7 +2469,7 @@ void ImProcCoordinator::updatePreviewImage(int todo, Crop* cropCall)
lastspotdup = true;//probably unused
}
if (params.locallab.spotduplicated && spottodupli > 1) {
if (params.locallab.spotduplicated && spottodupli >= 1) {
//perhaps some datas are redondant..to verify
circrads[0] = circrads[spottodupli] = dataspot[2][0] = dataspot[2][spottodupli] = dataspot[2][spottodupli - 1];
locx[0] = locx[spottodupli] = dataspot[3][0] = dataspot[3][spottodupli] = dataspot[3][spottodupli - 1];