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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-05-11 14:03:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-11 14:03:28 +0300
commitafe73631a4db8f2430407bc92eaa936fa94a4fa9 (patch)
treea431b8af89612f99818c4d5a72294d375edcfcad /source/blender/windowmanager
parent1ee77eb7f8f49d4e4483b57bb5b7d971b280f24c (diff)
Preferences: disable save-on exit until there is a revert button
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index d486daf8039..ebc4186ad1c 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -471,9 +471,12 @@ void WM_exit_ext(bContext *C, const bool do_python)
ED_screen_exit(C, win, WM_window_get_active_screen(win));
}
+ /* Disable until we have a revert button. */
+#if 0
if (U.runtime.is_dirty) {
BKE_blendfile_userdef_write_all(NULL);
}
+#endif
}
BLI_timer_free();