diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-30 05:33:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-30 05:33:13 +0300 |
commit | 7e21c99d05066a8f88453016c2f69a0607b5c2e0 (patch) | |
tree | c76a0a31d0f07d282aa17bbcdd6d3c4ebb2cc3e3 /source/blender/windowmanager/wm_files.h | |
parent | dc312609dd346e40f106976fe1ac5d9ad99e8c20 (diff) |
PyAPI: add load_factory_startup_post handler
Needed so we can apply changes to the startup file,
only in the case when it's load loaded from a user-saved startup.
Diffstat (limited to 'source/blender/windowmanager/wm_files.h')
-rw-r--r-- | source/blender/windowmanager/wm_files.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/wm_files.h b/source/blender/windowmanager/wm_files.h index 465abf011fa..f6f43c3d856 100644 --- a/source/blender/windowmanager/wm_files.h +++ b/source/blender/windowmanager/wm_files.h @@ -39,7 +39,8 @@ void wm_history_file_read(void); void wm_homefile_read( struct bContext *C, struct ReportList *reports, bool use_factory_settings, bool use_empty_data, bool use_userdef, - const char *filepath_startup_override, const char *app_template_override); + const char *filepath_startup_override, const char *app_template_override, + bool *r_is_factory_startup); void wm_file_read_report(bContext *C, struct Main *bmain); void WM_OT_save_homefile(struct wmOperatorType *ot); |