From b4f857f716bd8579fb75d3c19e689d20fffe58cd Mon Sep 17 00:00:00 2001 From: torger Date: Mon, 5 Jan 2015 17:42:37 +0100 Subject: [PATCH] Make sure both green autowb multipliers are the same for RGB sensors --- rtengine/rawimage.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rtengine/rawimage.cc b/rtengine/rawimage.cc index 02848c9f9..9c0ba04ef 100755 --- a/rtengine/rawimage.cc +++ b/rtengine/rawimage.cc @@ -233,6 +233,8 @@ skip_block: ; } if (pre_mul_[3] == 0) pre_mul_[3] = this->get_colors() < 4 ? pre_mul_[1] : 1; + else if (this->get_colors() < 4) + pre_mul_[3] = pre_mul_[1] = (pre_mul_[3] + pre_mul_[1]) / 2; if (colors == 1) for (c = 1; c < 4; c++)