Skip to content

Commit

Permalink
Merge pull request #7239 from Beep6581/channel-mixer-deactivated-fix
Browse files Browse the repository at this point in the history
Fix for channel mixer deactivation
  • Loading branch information
Lawrence37 authored Nov 25, 2024
2 parents 98136d3 + 3347569 commit 74adad2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rtengine/improcfun.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 74adad2

Please sign in to comment.