From 94e7ac5b97dd0b15a53d47c78672b8ed1e8a4bf1 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 5 Jun 2015 19:42:00 +0200 Subject: Fix wrong usage of THB_NORMAL size when generating .blend file thumbnail at save time. We do not use that size of preview anymore, only THB_LARGE... --- source/blender/windowmanager/intern/wm_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index a3cbb2b6eec..5bd2bb88f84 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -991,7 +991,7 @@ int wm_file_write(bContext *C, const char *filepath, int fileflags, ReportList * /* run this function after because the file cant be written before the blend is */ if (ibuf_thumb) { IMB_thumb_delete(filepath, THB_FAIL); /* without this a failed thumb overrides */ - ibuf_thumb = IMB_thumb_create(filepath, THB_NORMAL, THB_SOURCE_BLEND, ibuf_thumb); + ibuf_thumb = IMB_thumb_create(filepath, THB_LARGE, THB_SOURCE_BLEND, ibuf_thumb); IMB_freeImBuf(ibuf_thumb); } -- cgit v1.2.3