From dca2490689bf0d3d47a4772fddfbf40218d070aa Mon Sep 17 00:00:00 2001 From: Iliya Katueshenock Date: Mon, 30 Oct 2023 22:19:58 +0100 Subject: [PATCH] Fix #114240: Initialize output alpha for RGB color Pull Request: https://projects.blender.org/blender/blender/pulls/114270 --- source/blender/nodes/shader/nodes/node_shader_curves.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/nodes/shader/nodes/node_shader_curves.cc b/source/blender/nodes/shader/nodes/node_shader_curves.cc index a7df66a36c5..e98279f8183 100644 --- a/source/blender/nodes/shader/nodes/node_shader_curves.cc +++ b/source/blender/nodes/shader/nodes/node_shader_curves.cc @@ -257,6 +257,7 @@ class CurveRGBFunction : public mf::MultiFunction { if (fac[i] != 1.0f) { interp_v3_v3v3(col_out[i], col_in[i], col_out[i], fac[i]); } + col_out[i].a = 1.0f; }); } };