Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-01-07 21:30:12 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-01-07 21:38:13 +0300
commitcda149b9c8b82d200d190e1a362008ce20742cff (patch)
tree18515ce162d5cd4c129264e307dacf2cc460c848 /source
parent7c53c3483ce96fef207c877b0dc79bb3d8f123d5 (diff)
Remove 'ensure previews' call from write code.
Sorry about that, should have checked this stuff more, with Internal material renders are very fast (unoticable), but with Cycles it can take (a lot of) time, like several minutes or more. Will probably fall back to a dedicated operator users will have to fire themselves when they want previews in their files.
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 4dfe157416b..d97537cf01e 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -957,8 +957,6 @@ int wm_file_write(bContext *C, const char *filepath, int fileflags, ReportList *
/* save before exit_editmode, otherwise derivedmeshes for shared data corrupt #27765) */
if ((U.flag & USER_SAVE_PREVIEWS) && BLI_thread_is_main()) {
ibuf_thumb = blend_file_thumb(CTX_data_scene(C), CTX_wm_screen(C), &thumb);
-
- wm_ensure_previews(C, G.main);
}
BLI_callback_exec(G.main, NULL, BLI_CB_EVT_SAVE_PRE);