diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-13 05:44:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-13 05:46:15 +0300 |
commit | ac94c219aea80cb1eb494d03d42762ca5db931f3 (patch) | |
tree | 02bb3e2112d8b4526a415e8ba6db779f9d67577e /source/blender/windowmanager/intern/wm_init_exit.c | |
parent | d7eed63b6d74332407a0744f0e0044ab13632702 (diff) |
Prefernces: support loading last saved preferences
Diffstat (limited to 'source/blender/windowmanager/intern/wm_init_exit.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index ebc4186ad1c..0112faf6b2c 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -255,11 +255,15 @@ void WM_init(bContext *C, int argc, const char **argv) /* get the default database, plus a wm */ bool is_factory_startup = true; + const bool use_data = true; + const bool use_userdef = true; + wm_homefile_read(C, NULL, G.factory_startup, false, - true, + use_data, + use_userdef, NULL, WM_init_state_app_template_get(), &is_factory_startup); |