Merge pull request #4605 from Beep6581/labgrid-reduce-range
reduce the range of the lab grid colour toning method
This commit is contained in:
@@ -74,10 +74,12 @@ void LabGrid::getParams(double &la, double &lb, double &ha, double &hb) const
|
||||
|
||||
void LabGrid::setParams(double la, double lb, double ha, double hb, bool notify)
|
||||
{
|
||||
low_a = la;
|
||||
low_b = lb;
|
||||
high_a = ha;
|
||||
high_b = hb;
|
||||
const double lo = -rtengine::ColorToningParams::LABGRID_CORR_MAX;
|
||||
const double hi = rtengine::ColorToningParams::LABGRID_CORR_MAX;
|
||||
low_a = rtengine::LIM(la, lo, hi);
|
||||
low_b = rtengine::LIM(lb, lo, hi);
|
||||
high_a = rtengine::LIM(ha, lo, hi);
|
||||
high_b = rtengine::LIM(hb, lo, hi);
|
||||
queue_draw();
|
||||
if (notify) {
|
||||
notifyListener();
|
||||
|
@@ -1,11 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
// This number has to be incremented whenever the PP3 file format is modified or the behaviour of a tool changes
|
||||
#define PPVERSION 336
|
||||
#define PPVERSION 337
|
||||
#define PPVERSION_AEXP 301 //value of PPVERSION when auto exposure algorithm was modified
|
||||
|
||||
/*
|
||||
Log of version changes
|
||||
337 2018-06-13
|
||||
new scales for the LabGrid color toning parameters
|
||||
336 2018-06-01
|
||||
new demosaic method combobox for pixelshift
|
||||
335 2018-05-30
|
||||
|
Reference in New Issue
Block a user