diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-20 17:58:53 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-20 17:58:53 +0400 |
commit | cb8f7fd385251d22ab97a48466e33ce0e42d5e4d (patch) | |
tree | fac9b9510d58bc04ff94dbc658621c3de31ed466 /source/blender/blenloader/BLO_readfile.h | |
parent | b8eec2b8fe123b118aef925ce2f786842764413d (diff) |
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.
Diffstat (limited to 'source/blender/blenloader/BLO_readfile.h')
-rw-r--r-- | source/blender/blenloader/BLO_readfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index 52295dc3092..408d07b965c 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -62,6 +62,7 @@ typedef struct BlendFileData { int fileflags; int displaymode; int globalf; + char filename[240]; /* 240 = FILE_MAX */ struct bScreen* curscreen; struct Scene* curscene; |