Fix channel mixer deactivation
The channel mixer deactivates when the primary values are set to 10.
This commit is contained in:
parent
ca329d9013
commit
3347569d88
@ -2039,9 +2039,9 @@ void ImProcFunctions::rgbProc(Imagefloat* working, LabImage* lab, PipetteBuffer
|
||||
};
|
||||
|
||||
bool mixchannels = params->chmixer.enabled &&
|
||||
(params->chmixer.red[0] != 100 || params->chmixer.red[1] != 0 || params->chmixer.red[2] != 0 ||
|
||||
params->chmixer.green[0] != 0 || params->chmixer.green[1] != 100 || params->chmixer.green[2] != 0 ||
|
||||
params->chmixer.blue[0] != 0 || params->chmixer.blue[1] != 0 || params->chmixer.blue[2] != 100);
|
||||
(params->chmixer.red[0] != 1000 || params->chmixer.red[1] != 0 || params->chmixer.red[2] != 0 ||
|
||||
params->chmixer.green[0] != 0 || params->chmixer.green[1] != 1000 || params->chmixer.green[2] != 0 ||
|
||||
params->chmixer.blue[0] != 0 || params->chmixer.blue[1] != 0 || params->chmixer.blue[2] != 1000);
|
||||
|
||||
FlatCurve* hCurve = nullptr;
|
||||
FlatCurve* sCurve = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user