Improve mask preview and avoid reprocessing when switching spot

Changes:
- Mask preview has been improved. It only applies on detailed image now
("dcrop" pipeline) which corrects unexpected behavior on navigator
image. Mask preview now only applies on selected spot: when switching
between spots, mask preview is deactivated on newly selected spot.
- Image reprocessing is now avoided when switching between spots (except
if mask preview was previously activated). Mask background update
remains functionnal.

Bugfixe:
- AStyle runned on several modified files
This commit is contained in:
Pandagrapher
2019-08-21 13:40:28 +02:00
parent 53eeffbebf
commit 2080f65197
13 changed files with 273 additions and 147 deletions

View File

@@ -523,7 +523,7 @@ int refreshmap[rtengine::NUMOFEVENTS] = {
0, // unused
LUMINANCECURVE, // EvLocallabSpotCreated
LUMINANCECURVE, // EvLocallabSpotDeleted
LUMINANCECURVE, // EvLocallabSpotSelected
M_VOID, // EvLocallabSpotSelected
M_VOID, // EvLocallabSpotName
M_VOID, // EvLocallabSpotVisibility
LUMINANCECURVE, // EvLocallabSpotShape
@@ -631,8 +631,8 @@ int refreshmap[rtengine::NUMOFEVENTS] = {
LUMINANCECURVE, // EvLocallabsensisf
LUMINANCECURVE, // Evlocallabsharblur
LUMINANCECURVE, // EvLocenalabregion
LUMINANCECURVE, // EvlocallabshowmaskcolMethod
LUMINANCECURVE, // EvlocallabshowmaskexpMethod
LUMINANCECURVE, // EvlocallabshowmaskMethod
LUMINANCECURVE, // EvLocallabSpotSelectedWithMask
LUMINANCECURVE, // EvlocallabCCmaskshape
LUMINANCECURVE, // EvlocallabLLmaskshape
LUMINANCECURVE, // EvlocallabCCmaskexpshape