diff options
author | Xavier Thomas <xavier.thomas.1980@gmail.com> | 2010-07-19 19:39:12 +0400 |
---|---|---|
committer | Xavier Thomas <xavier.thomas.1980@gmail.com> | 2010-07-19 19:39:12 +0400 |
commit | ff83a98a07c3d55eac03ebd903ad7a0c3e6c33b4 (patch) | |
tree | dfde0715052e82d7ff89f1af9ee3e2879aaf78e9 /source/blender/windowmanager/WM_api.h | |
parent | f7298287b34f34c120788a456dfc43351467a3cc (diff) |
Add a "copy" option to the save_as_mainfile operator. It saves the current
state but does not make the saved file active, so further save won't use
this filepath.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 78ea0350667..46d42b300bf 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -78,7 +78,7 @@ void WM_window_open_temp (struct bContext *C, struct rcti *position, int type); int WM_read_homefile (struct bContext *C, struct wmOperator *op); int WM_write_homefile (struct bContext *C, struct wmOperator *op); void WM_read_file (struct bContext *C, char *name, struct ReportList *reports); -int WM_write_file (struct bContext *C, char *target, int fileflags, struct ReportList *reports); +int WM_write_file (struct bContext *C, char *target, int fileflags, struct ReportList *reports, int copy); void WM_read_autosavefile(struct bContext *C); void WM_autosave_init (struct wmWindowManager *wm); |