diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-10 14:47:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-10 14:47:18 +0300 |
commit | 1bae9c6a5b15160b5bdbda479ac144841fd78b63 (patch) | |
tree | fed57007099c744e459df22a74ff501be4187c40 /source/blender/editors/space_view3d/view3d_draw.c | |
parent | 95128c5eb9746f02ae15dd21e6b89066d16062ed (diff) |
Remove OpenGL render alpha world-bg exception
Just follow setting and don't take world-background into account.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |