From bb744090317962faf66093ccccef2fe8c1947017 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 5 Jan 2013 10:26:33 +0000 Subject: [PATCH] revert r53570, alpha background is useful for projection paint 'Quick Edit', it would also give odd results drawing semi transparent faces will give partial alpha which is strange to have with solid backdrop. --- source/blender/editors/space_view3d/view3d_draw.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index e7243e9d4b9..4ccf26e12b1 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -2596,11 +2596,10 @@ void ED_view3d_draw_offscreen(Scene *scene, View3D *v3d, ARegion *ar, linearrgb_to_srgb_v3_v3(backcol, &scene->world->horr); } - glClearColor(backcol[0], backcol[1], backcol[2], 1.0f); + glClearColor(backcol[0], backcol[1], backcol[2], 0.0f); } else { - UI_GetThemeColor3fv(TH_BACK, backcol); - glClearColor(backcol[0], backcol[1], backcol[2], 1.0f); + UI_ThemeClearColor(TH_BACK); }