diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-09 05:53:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-09 06:12:21 +0300 |
commit | 115c8671902a884a2659c9c60b77fd2bda2696d3 (patch) | |
tree | a76def99ef734e1d6971561e2ccf6c9657e4aadd /source/blender/windowmanager/wm_files.h | |
parent | 281f4eb964c3cbb84967f4318e5c16ac68fd4a3c (diff) |
Fix: opening missing file didnt remove in recent-files.txt
Refactor recent-file.txt handling, split into smaller functions.
It wasn't possible to write the current state to disk (depended on current context).
Diffstat (limited to 'source/blender/windowmanager/wm_files.h')
-rw-r--r-- | source/blender/windowmanager/wm_files.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/wm_files.h b/source/blender/windowmanager/wm_files.h index 526696138a5..467926aa770 100644 --- a/source/blender/windowmanager/wm_files.h +++ b/source/blender/windowmanager/wm_files.h @@ -31,9 +31,9 @@ #ifndef __WM_FILES_H__ #define __WM_FILES_H__ -void wm_read_history(void); +void wm_history_file_read(void); +int wm_history_file_read_exec(bContext *C, wmOperator *op); int wm_file_write(struct bContext *C, const char *target, int fileflags, struct ReportList *reports); -int wm_history_read_exec(bContext *C, wmOperator *op); int wm_homefile_read_exec(struct bContext *C, struct wmOperator *op); int wm_homefile_read(struct bContext *C, struct ReportList *reports, bool from_memory, const char *filepath); int wm_homefile_write_exec(struct bContext *C, struct wmOperator *op); |