From 161cbed9b58408500e3e9d2acc6ea8db9ade4d4a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 19 Jan 2011 09:13:24 +0000 Subject: new command line option '--factory-startup' to skip reading startup.blend. useful for testing with a predictable environment. also commented python benchmark prints on exit, can enable when profiling later. --- source/blender/windowmanager/WM_api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/windowmanager/WM_api.h') diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index a7aad83d471..c9d74cbb39d 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -81,7 +81,8 @@ void WM_window_open_temp (struct bContext *C, struct rcti *position, int type); /* files */ -int WM_read_homefile (struct bContext *C, struct wmOperator *op); +int WM_read_homefile_exec(struct bContext *C, struct wmOperator *op); +int WM_read_homefile (struct bContext *C, struct ReportList *reports, short from_memory); int WM_write_homefile (struct bContext *C, struct wmOperator *op); void WM_read_file (struct bContext *C, const char *name, struct ReportList *reports); int WM_write_file (struct bContext *C, const char *target, int fileflags, struct ReportList *reports, int copy); -- cgit v1.2.3