[Bf-blender-cvs] [3b569ac] GPencil_Editing_Stage3: Tweak to make rendering different GPencil shots via the sequencer feasible again

Joshua Leung noreply at git.blender.org
Tue Sep 15 16:48:42 CEST 2015


Commit: 3b569ac921111296827ae84260affc591ff5e142
Author: Joshua Leung
Date:   Wed Sep 16 02:39:49 2015 +1200
Branches: GPencil_Editing_Stage3
https://developer.blender.org/rB3b569ac921111296827ae84260affc591ff5e142

Tweak to make rendering different GPencil shots via the sequencer feasible again

This hack ensures that world backgrounds get rendered in OpenGL previews
when using scene strips in the sequencer. Without this, we cannot use
the sequencer to chain up different GPencil shots for a non-destructive
workflow (where you don't have to render out image sequences first).

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

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 8f4cbe1..9b2a543 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -3361,6 +3361,9 @@ ImBuf *ED_view3d_draw_offscreen_imbuf_simple(Scene *scene, Object *camera, int w
 
 	if (use_solid_tex)
 		v3d.flag2 |= V3D_SOLID_TEX;
+		
+	if (draw_background)
+		v3d.flag3 |= V3D_SHOW_WORLD;
 
 	rv3d.persp = RV3D_CAMOB;




More information about the Bf-blender-cvs mailing list