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>2008-02-22 03:03:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-02-22 03:03:03 +0300
commit859a613a4c2e1151c1dc682644973abbf5d98e83 (patch)
tree67bd81878501f68280dd5d81e5713053e3f3d83b /source/blender/src/usiblender.c
parentae464adffd51473fad06bdf19395c31829b34d7a (diff)
fix for [#7899] Quit doesn't report failure to save quit.blend
Diffstat (limited to 'source/blender/src/usiblender.c')
-rw-r--r--source/blender/src/usiblender.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c
index 069dcce2375..01a7c024c71 100644
--- a/source/blender/src/usiblender.c
+++ b/source/blender/src/usiblender.c
@@ -1086,6 +1086,12 @@ void exit_usiblender(void)
quicktime_exit();
#endif
+ /* undo free stuff */
+ undo_editmode_clear();
+
+ BKE_undo_save_quit(); // saves quit.blend if global undo is on
+ BKE_reset_undo();
+
if (!G.background) {
BIF_resources_free();
@@ -1102,12 +1108,7 @@ void exit_usiblender(void)
if (copybuf) MEM_freeN(copybuf);
if (copybufinfo) MEM_freeN(copybufinfo);
- /* undo free stuff */
- undo_editmode_clear();
-
- BKE_undo_save_quit(); // saves quit.blend if global undo is on
- BKE_reset_undo();
-
+//
BLI_freelistN(&U.themes);
BIF_preview_free_dbase();