Mango request: use active scene clip as background for sequencer scene strip renderer

and opengl renerer when rendering from camera view.

Other usages of offscreen drawing shouldn't be affected by this change.
This commit is contained in:
2012-03-07 17:45:40 +00:00
parent 4aadffa80e
commit c69e4ef862
5 changed files with 74 additions and 25 deletions

View File

@@ -676,7 +676,7 @@ static ImBuf *blend_file_thumb(Scene *scene, int **thumb_pt)
/* gets scaled to BLEN_THUMB_SIZE */
ibuf= ED_view3d_draw_offscreen_imbuf_simple(scene, scene->camera,
BLEN_THUMB_SIZE * 2, BLEN_THUMB_SIZE * 2,
IB_rect, OB_SOLID, err_out);
IB_rect, OB_SOLID, FALSE, err_out);
if(ibuf) {
float aspect= (scene->r.xsch*scene->r.xasp) / (scene->r.ysch*scene->r.yasp);