Preferences: disable save-on exit until there is a revert button

This commit is contained in:
Campbell Barton 2019-05-11 21:03:28 +10:00
parent 1ee77eb7f8
commit afe73631a4
Notes: blender-bot 2023-02-14 02:41:07 +01:00
Referenced by issue #64500, Preferences are saved as soon as a change is made, not only when saved manually
1 changed files with 3 additions and 0 deletions

View File

@ -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();