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>2014-01-28 22:33:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-28 22:33:05 +0400
commit8c688a052c79e006b586598d2ac55a550cea3550 (patch)
treeacd4aec837cd8c38b2cdde3f3b54cb1d91c4a60b /source/blender/windowmanager/WM_api.h
parent39202a53b559debb5ce1413c08f131173515c3cd (diff)
File Reading: add wrapper function for WM_file_read
also return cancelled when an operator fails to load a file
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r--source/blender/windowmanager/WM_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h
index 9e960f89f55..c13731e2459 100644
--- a/source/blender/windowmanager/WM_api.h
+++ b/source/blender/windowmanager/WM_api.h
@@ -106,7 +106,7 @@ bool WM_is_draw_triple(struct wmWindow *win);
/* files */
void WM_file_autoexec_init(const char *filepath);
-void WM_file_read(struct bContext *C, const char *filepath, struct ReportList *reports);
+bool 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);