From 558d7dd90e56ca1b4dbf1b7b8b7b555791821148 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Mon, 11 Feb 2019 16:56:20 +0100 Subject: Fix T61376 Group Node Node Editor theme property is missing alpha channel It is now possible to adjust the group node background alpha. The defaults are the same as before, but you can now adjust the alpha level via the theme preferences (and the alpha value is no longer hard coded). --- source/blender/editors/space_node/node_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_node/node_draw.c') diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index c5993341f92..69a6d538b29 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -1307,7 +1307,7 @@ static void draw_group_overlay(const bContext *C, ARegion *ar) /* shade node groups to separate them visually */ GPU_blend(true); - UI_GetThemeColorShadeAlpha4fv(TH_NODE_GROUP, 0, -70, color); + UI_GetThemeColorShadeAlpha4fv(TH_NODE_GROUP, 0, 0, color); UI_draw_roundbox_corner_set(UI_CNR_NONE); UI_draw_roundbox_4fv(true, rect.xmin, rect.ymin, rect.xmax, rect.ymax, 0, color); GPU_blend(false); -- cgit v1.2.3