Fix T53528: Empty thumbnails in filebrowser

Bug in recent refactor.
This commit is contained in:
Sergey Sharybin 2017-12-11 15:47:12 +01:00
parent 54f7bb4582
commit 7719f7d27a
Notes: blender-bot 2023-02-14 06:20:43 +01:00
Referenced by issue #53550, Can't assign 'E' as hotkey in Clip Editor anymore
Referenced by issue #53528, Empty thumbnails in filebrowser
1 changed files with 1 additions and 1 deletions

View File

@ -1029,7 +1029,7 @@ static ImBuf *blend_file_thumb(Scene *scene, bScreen *screen, BlendThumbnail **t
ibuf = ED_view3d_draw_offscreen_imbuf_simple(
scene, scene->camera,
BLEN_THUMB_SIZE * 2, BLEN_THUMB_SIZE * 2,
IB_rect, OB_SOLID, V3D_OFSDRAW_NONE, R_ALPHAPREMUL, 0, NULL,
IB_rect, V3D_OFSDRAW_NONE, OB_SOLID, R_ALPHAPREMUL, 0, NULL,
NULL, NULL, err_out);
}
else {