[Bf-blender-cvs] [1bae9c6] master: Remove OpenGL render alpha world-bg exception

Campbell Barton noreply at git.blender.org
Thu Mar 10 12:57:37 CET 2016


Commit: 1bae9c6a5b15160b5bdbda479ac144841fd78b63
Author: Campbell Barton
Date:   Thu Mar 10 22:47:18 2016 +1100
Branches: master
https://developer.blender.org/rB1bae9c6a5b15160b5bdbda479ac144841fd78b63

Remove OpenGL render alpha world-bg exception

Just follow setting and don't take world-background into account.

===================================================================

M	source/blender/editors/space_view3d/view3d_draw.c

===================================================================

diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index 087c533..1b6435f 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 */




More information about the Bf-blender-cvs mailing list