From dc90a1f6be2e9b2cc5a0d3dfa8ad0c47cdac9af2 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 11 Oct 2012 01:34:29 +0200 Subject: [PATCH 1/1] Fix snafu in gamma expansion node insertion. --- effect_chain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effect_chain.cpp b/effect_chain.cpp index 4e43eed..cfc6d06 100644 --- a/effect_chain.cpp +++ b/effect_chain.cpp @@ -795,7 +795,7 @@ void EffectChain::fix_internal_gamma_by_inserting_nodes(unsigned step) continue; } Node *conversion = add_node(new GammaExpansionEffect()); - conversion->effect->set_int("destination_curve", GAMMA_LINEAR); + conversion->effect->set_int("source_curve", input->output_gamma_curve); conversion->output_gamma_curve = GAMMA_LINEAR; insert_node_between(input, conversion, node); } -- 2.39.2