Blender Git Commit Log

Git Commits -> Revision cb8f7fd

Revision cb8f7fd by Brecht Van Lommel (master)
October 20, 2009, 13:58 (GMT)
Auto Save

Auto save is now working again in 2.5. It will also remember now what
the location of the original file was when recovering it, so that
library links still work and saving the restored file does not save to
the temp directory. There is also a new Recover Auto Save operator
which will open the filebrowser in the temp directory and show the
auto saved .blends.

Implemenation Notes:

* Timer storage was moved from window to windowmanager, so we can have
windowmanager level timers too now, doesn't make sense to have
autosave timer attached to a particular window.
* FileGlobal now has a filename field storing where the file was saved.
Note that this is only used when loading a file through the recover
operators, regular file read doesn't use it, so copying the quit.blend
manually over the original file will still work as expected.
* Jobs timer no longer uses operator now, this seems more like an
internal thing, changing keymaps should not make it possible to break
the jobs manager.
* Autosave is postponed by 10 seconds when a modal operator is running,
e.g. transform or file browsing.
* Moved setting G.sce in setup_app_data before depsgraph updates, these
can use the filename for pointcaches.

Commit Details:

Full Hash: cb8f7fd385251d22ab97a48466e33ce0e42d5e4d
SVN Revision: 24001
Parent Commit: b8eec2b
Lines Changed: +325, -221

33 Modified Paths:

/intern/ghost/intern/GHOST_WindowX11.cpp (+2, -2) (Diff)
/release/scripts/ui/space_info.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_global.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/blender.c (+14, -6) (Diff)
/source/blender/blenloader/BLO_readfile.h (+1, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+4, -3) (Diff)
/source/blender/editors/interface/interface_handlers.c (+12, -10) (Diff)
/source/blender/editors/interface/interface_panel.c (+2, -2) (Diff)
/source/blender/editors/screen/screen_edit.c (+8, -5) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+2, -2) (Diff)
/source/blender/editors/space_file/file_draw.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+5, -5) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_fileglobal_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+0, -2) (Diff)
/source/blender/windowmanager/intern/wm.c (+8, -3) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+2, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+96, -75) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_jobs.c (+5, -22) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+62, -17) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+54, -44) (Diff)
/source/blender/windowmanager/wm.h (+10, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+5, -5) (Diff)
/source/blender/windowmanager/wm_event_types.h (+2, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+3, -0) (Diff)
/source/blender/windowmanager/wm_window.h (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021