Fix T53528: Empty thumbnails in filebrowser
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 11 Dec 2017 14:47:12 +0000 (15:47 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 11 Dec 2017 14:47:52 +0000 (15:47 +0100)
Bug in recent refactor.

source/blender/windowmanager/intern/wm_files.c

index 57f4219f23f027ff48a1fab2920b4b23f9816bdc..21e6abacfec3f00aecb0d95f623e1a212dc0ff9e 100644 (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 {