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:
authorJacques Lucke <mail@jlucke.com>2019-05-17 18:31:26 +0300
committerJacques Lucke <mail@jlucke.com>2019-05-17 18:43:36 +0300
commit5ce3f69da438bf2bd58d5039f8a4165f31262e1e (patch)
tree4cc3347c85afe33a7d1a7fa761046eeafd9cdd92 /source/blender/windowmanager/WM_api.h
parent56cdb0cf15ac83852f8db5ca3f816dbed67add9c (diff)
UI: File Close Dialog
This adds a new dialog that is shown whenever a file is closed. So, either when a new file is opened, or when Blender quits. The dialog allows to save unsaved changes. Furthermore it also allows saving images that have been modified in Blender, but are not saved yet. Known limitations: * Images that have no file path and have not been packed before, are not saved. * On MacOS the old dialog is shown when Blender quits. Reviewers: brecht, billreynish Differential Revision: https://developer.blender.org/D4860
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r--source/blender/windowmanager/WM_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h
index bd02a1e13c1..70f986732ad 100644
--- a/source/blender/windowmanager/WM_api.h
+++ b/source/blender/windowmanager/WM_api.h
@@ -401,6 +401,10 @@ int WM_operator_name_call(struct bContext *C,
const char *opstring,
short context,
struct PointerRNA *properties);
+int WM_operator_name_call_with_properties(struct bContext *C,
+ const char *opstring,
+ short context,
+ struct IDProperty *properties);
int WM_operator_call_py(struct bContext *C,
struct wmOperatorType *ot,
short context,