Sequencer: Add option to render OpenGL preview with DoF
The title says it all actually, controlled with DoF check box next to textured solid check box. Thanks Campbell for review!
This commit is contained in:
@@ -684,6 +684,11 @@ static bool screen_opengl_render_init(bContext *C, wmOperator *op)
|
||||
oglrender->fx = GPU_fx_compositor_create();
|
||||
}
|
||||
}
|
||||
else if (is_sequencer) {
|
||||
if (scene->r.seq_flag & R_SEQ_CAMERA_DOF) {
|
||||
oglrender->fx = GPU_fx_compositor_create();
|
||||
}
|
||||
}
|
||||
|
||||
/* create render */
|
||||
oglrender->re = RE_NewSceneRender(scene);
|
||||
|
||||
Reference in New Issue
Block a user