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:
authorTon Roosendaal <ton@blender.org>2013-04-13 16:03:20 +0400
committerTon Roosendaal <ton@blender.org>2013-04-13 16:03:20 +0400
commitd867cefa32ca3b26bbfc279e2f04d4f795dc13a4 (patch)
tree6c96c71400ffc5da4a8b48e2ff456e13af4f81ab /source/blender/windowmanager/WM_api.h
parent9eea6c7057c6e092a5e29e6a595c7dc7d0f14072 (diff)
Bug fix #34896
The feature "Keep Session" was also loading that session when you double-click on a .blend to open it, or when a .blend file was on commandline. Moved this feature to the main() in creator.c, so it can check on it properly, skipping the kept session when a file was loaded.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r--source/blender/windowmanager/WM_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h
index 9e6a483aa76..6048fe030b8 100644
--- a/source/blender/windowmanager/WM_api.h
+++ b/source/blender/windowmanager/WM_api.h
@@ -113,6 +113,7 @@ bool WM_is_draw_triple(struct wmWindow *win);
/* files */
void WM_file_read(struct bContext *C, const char *filepath, struct ReportList *reports);
void WM_autosave_init(struct wmWindowManager *wm);
+void WM_recover_last_session(struct bContext *C, struct ReportList *reports);
/* mouse cursors */
void WM_cursor_set (struct wmWindow *win, int curs);