From 386ee980cbb908d592bbb80b4a249e97594183cc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 20 Mar 2014 18:59:26 +0100 Subject: regression bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/curve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curve.py b/src/curve.py index 8f650a1..cca8a5a 100644 --- a/src/curve.py +++ b/src/curve.py @@ -135,7 +135,7 @@ def cie_brightness(r, g = ..., b = ...): if same: for i in range(i_size): (x, y, Y) = srgb_to_ciexyy(r_curve[i], g_curve[i], b_curve[i]) - (r_curve[i], g_curve[i], b_curve[i]) = ciexyy_to_srgb(x, y, t * level) + (r_curve[i], g_curve[i], b_curve[i]) = ciexyy_to_srgb(x, y, Y * r) else: for i in range(i_size): (x, y, Y) = srgb_to_ciexyy(r_curve[i], g_curve[i], b_curve[i]) -- cgit v1.2.3-70-g09d2