- Synchronize with changes in trunk
[blender.git] / source / blender / windowmanager / intern / wm_files.c
index 7f5271e5ffa641845c7070da046a7c5fe6cb04d8..e50fbaa624ed26e6d143c0c0fffe0f2cbc45c263 100644 (file)
@@ -787,7 +787,7 @@ int WM_write_file(bContext *C, const char *target, int fileflags, ReportList *re
 
        /* blend file thumbnail */
        /* save before exit_editmode, otherwise derivedmeshes for shared data corrupt #27765) */
-       if ((U.flag & USER_SAVE_PREVIEWS) && 0) {
+       if (U.flag & USER_SAVE_PREVIEWS) {
                ibuf_thumb = blend_file_thumb(CTX_data_scene(C), CTX_wm_screen(C), &thumb);
        }