Bugfix in LabGrid class + code refactoring
- suppressed trailing `_` char for class' parameters - renamed function name (those not related to Gtk) to lowerCamelCase - changed the mecanism of dragging point, to avoid throwing unecessary `panelChange` event - added a `reset` function, with support of `toInitial` to get back the values at load time (CTRL+click on reset button) - `on_draw` optimisation: now LabGrid IS A BackBuffer
This commit is contained in:
@@ -1540,9 +1540,6 @@ void ParamsEdited::combine (rtengine::procparams::ProcParams& toEdit, const rten
|
||||
toEdit.colorToning.bluehigh = dontforceSet && options.baBehav[ADDSET_COLORTONING_SPLIT] ? toEdit.colorToning.bluehigh + mods.colorToning.bluehigh : mods.colorToning.bluehigh;
|
||||
}
|
||||
|
||||
if (colorToning.labgridALow) {
|
||||
toEdit.colorToning.labgridALow = mods.colorToning.labgridALow;
|
||||
}
|
||||
if (colorToning.labgridALow) {
|
||||
toEdit.colorToning.labgridALow = mods.colorToning.labgridALow;
|
||||
}
|
||||
|
Reference in New Issue
Block a user