Refixed the same behavior

This commit is contained in:
U-PC-BUREAU\jacques
2018-07-26 20:43:23 +02:00
parent 5f2b34f576
commit 2da11b61b0
4 changed files with 7 additions and 7 deletions

View File

@@ -807,7 +807,7 @@ void Crop::update(int todo)
}
if (todo & M_INIT) {
if (todo & M_AUTOEXP) {
if (params.icm.workingTRC == "Custom") { //exec TRC IN free
Glib::ustring profile;
profile = params.icm.workingProfile;

View File

@@ -459,7 +459,7 @@ void ImProcCoordinator::updatePreviewImage(int todo, Crop* cropCall)
readyphase++;
if (todo & M_INIT) {
if (todo & M_AUTOEXP) {
if (params.toneCurve.autoexp) {
LUTu aehist;
int aehistcompr;
@@ -497,7 +497,7 @@ void ImProcCoordinator::updatePreviewImage(int todo, Crop* cropCall)
progress("Exposure curve & CIELAB conversion...", 100 * readyphase / numofphases);
if (todo & M_INIT) {
if (todo & M_AUTOEXP) {
if (params.icm.workingTRC == "Custom") { //exec TRC IN free
Glib::ustring profile;
profile = params.icm.workingProfile;

View File

@@ -43,9 +43,9 @@ ICMPanel::ICMPanel() : FoldableToolPanel(this, "icm", M("TP_ICM_LABEL")), iuncha
EvICMpgrey = m->newEvent(GAMMA, "HISTORY_MSG_ICMPGREY");
EvICMpblux = m->newEvent(GAMMA, "HISTORY_MSG_ICMPBLUX");
EvICMpbluy = m->newEvent(GAMMA, "HISTORY_MSG_ICMPBLUY");
EvICMgamm = m->newEvent(ALLNORAW, "HISTORY_MSG_ICM_WORKING_GAMMA");
EvICMslop = m->newEvent(ALLNORAW, "HISTORY_MSG_ICM_WORKING_SLOPE");
EvICMtrcinMethod = m->newEvent(ALLNORAW, "HISTORY_MSG_ICM_WORKING_TRC_METHOD");
EvICMgamm = m->newEvent(AUTOEXP, "HISTORY_MSG_ICM_WORKING_GAMMA");
EvICMslop = m->newEvent(AUTOEXP, "HISTORY_MSG_ICM_WORKING_SLOPE");
EvICMtrcinMethod = m->newEvent(AUTOEXP, "HISTORY_MSG_ICM_WORKING_TRC_METHOD");
isBatchMode = lastToneCurve = lastApplyLookTable = lastApplyBaselineExposureOffset = lastApplyHueSatMap = false;

View File

@@ -30,7 +30,7 @@ using namespace rtengine::procparams;
ToneCurve::ToneCurve () : FoldableToolPanel(this, "tonecurve", M("TP_EXPOSURE_LABEL"))
{
auto m = ProcEventMapper::getInstance();
EvHistMatching = m->newEvent(ALLNORAW, "HISTORY_MSG_HISTMATCHING");
EvHistMatching = m->newEvent(AUTOEXP, "HISTORY_MSG_HISTMATCHING");
EvHistMatchingBatch = m->newEvent(M_VOID, "HISTORY_MSG_HISTMATCHING");
EvClampOOG = m->newEvent(DARKFRAME, "HISTORY_MSG_CLAMPOOG");