[Bf-blender-cvs] [afe73631a4d] master: Preferences: disable save-on exit until there is a revert button

Campbell Barton noreply at git.blender.org
Sat May 11 13:04:30 CEST 2019


Commit: afe73631a4db8f2430407bc92eaa936fa94a4fa9
Author: Campbell Barton
Date:   Sat May 11 21:03:28 2019 +1000
Branches: master
https://developer.blender.org/rBafe73631a4db8f2430407bc92eaa936fa94a4fa9

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

===================================================================

M	source/blender/windowmanager/intern/wm_init_exit.c

===================================================================

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



More information about the Bf-blender-cvs mailing list