another improvment to calculate references

This commit is contained in:
Desmis
2019-10-29 11:48:26 +01:00
parent 7a4f300911
commit d73e774efa
2 changed files with 8 additions and 2 deletions

View File

@@ -1122,11 +1122,17 @@ void ImProcCoordinator::updatePreviewImage(int todo, bool panningRelatedChange)
} else {
ipf.calc_ref(sp, nprevl, nprevl, 0, 0, pW, pH, scale, huerefblu, chromarefblu, lumarefblu, huer, chromar, lumar, sobeler, avg);
}
if (sp == params->locallab.selspot && params->locallab.spots.at(sp).recurs) {
if (locallListener) {
if (locallListener) {//change GUI ref for masks
locallListener->refChanged(huer, lumar, chromar);
}
}
//restore ref values
huerefs[sp] = huer;
chromarefs[sp] = chromar;
lumarefs[sp] = lumar ;
sobelrefs[sp] = sobeler;
lllocalcurve.clear();
lightCurveloc.clear();