Merge branch 'dev' into iconcleanup4
This commit is contained in:
@@ -76,6 +76,7 @@ ToolPanelCoordinator::ToolPanelCoordinator (bool batch) : ipc (nullptr), hasChan
|
||||
dirpyrequalizer = Gtk::manage (new DirPyrEqualizer ());
|
||||
hsvequalizer = Gtk::manage (new HSVEqualizer ());
|
||||
filmSimulation = Gtk::manage (new FilmSimulation ());
|
||||
softlight = Gtk::manage(new SoftLight());
|
||||
sensorbayer = Gtk::manage (new SensorBayer ());
|
||||
sensorxtrans = Gtk::manage (new SensorXTrans ());
|
||||
bayerprocess = Gtk::manage (new BayerProcess ());
|
||||
@@ -111,6 +112,7 @@ ToolPanelCoordinator::ToolPanelCoordinator (bool batch) : ipc (nullptr), hasChan
|
||||
addPanel (detailsPanel, sharpenMicro);
|
||||
addPanel (colorPanel, hsvequalizer);
|
||||
addPanel (colorPanel, filmSimulation);
|
||||
addPanel (colorPanel, softlight);
|
||||
addPanel (colorPanel, rgbcurves);
|
||||
addPanel (colorPanel, colortoning);
|
||||
addPanel (exposurePanel, epd);
|
||||
@@ -401,7 +403,7 @@ void ToolPanelCoordinator::panelChanged (rtengine::ProcEvent event, const Glib::
|
||||
}
|
||||
}
|
||||
|
||||
void ToolPanelCoordinator::profileChange (const PartialProfile *nparams, rtengine::ProcEvent event, const Glib::ustring& descr, const ParamsEdited* paramsEdited)
|
||||
void ToolPanelCoordinator::profileChange (const PartialProfile *nparams, rtengine::ProcEvent event, const Glib::ustring& descr, const ParamsEdited* paramsEdited, bool fromLastSave)
|
||||
{
|
||||
|
||||
int fw, fh, tr;
|
||||
@@ -423,7 +425,7 @@ void ToolPanelCoordinator::profileChange (const PartialProfile *nparams, rtengi
|
||||
}
|
||||
|
||||
// And apply the partial profile nparams to mergedParams
|
||||
nparams->applyTo (mergedParams);
|
||||
nparams->applyTo (mergedParams, fromLastSave);
|
||||
|
||||
// Derive the effective changes, if it's a profile change, to prevent slow RAW rerendering if not necessary
|
||||
bool filterRawRefresh = false;
|
||||
@@ -656,6 +658,16 @@ void ToolPanelCoordinator::spotWBselected (int x, int y, Thumbnail* thm)
|
||||
}
|
||||
}
|
||||
|
||||
void ToolPanelCoordinator::sharpMaskSelected(bool sharpMask)
|
||||
{
|
||||
|
||||
if (!ipc) {
|
||||
return;
|
||||
}
|
||||
ipc->beginUpdateParams ();
|
||||
ipc->setSharpMask(sharpMask);
|
||||
ipc->endUpdateParams (rtengine::EvShrEnabled);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user