Merge pull request #4885 from Beep6581/softlight-later-pipeline

moved softlight later in the pipeline
This commit is contained in:
Alberto Griggio
2018-10-27 18:03:51 +02:00
committed by GitHub
8 changed files with 44 additions and 36 deletions

View File

@@ -28,8 +28,8 @@ using namespace rtengine::procparams;
SoftLight::SoftLight(): FoldableToolPanel(this, "softlight", M("TP_SOFTLIGHT_LABEL"), false, true)
{
auto m = ProcEventMapper::getInstance();
EvSoftLightEnabled = m->newEvent(RGBCURVE, "HISTORY_MSG_SOFTLIGHT_ENABLED");
EvSoftLightStrength = m->newEvent(RGBCURVE, "HISTORY_MSG_SOFTLIGHT_STRENGTH");
EvSoftLightEnabled = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_SOFTLIGHT_ENABLED");
EvSoftLightStrength = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_SOFTLIGHT_STRENGTH");
strength = Gtk::manage(new Adjuster(M("TP_SOFTLIGHT_STRENGTH"), 0., 100., 1., 30.));
strength->setAdjusterListener(this);