From 1bae9c6a5b15160b5bdbda479ac144841fd78b63 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 10 Mar 2016 22:47:18 +1100 Subject: Remove OpenGL render alpha world-bg exception Just follow setting and don't take world-background into account. --- source/blender/editors/space_view3d/view3d_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_view3d') diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 087c5338e5f..1b6435f214e 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -3304,7 +3304,7 @@ ImBuf *ED_view3d_draw_offscreen_imbuf( { RegionView3D *rv3d = ar->regiondata; ImBuf *ibuf; - const bool draw_sky = (alpha_mode == R_ADDSKY) && v3d && (v3d->flag3 & V3D_SHOW_WORLD); + const bool draw_sky = (alpha_mode == R_ADDSKY); const bool own_ofs = (ofs == NULL); /* view state */ -- cgit v1.2.3