diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-17 09:34:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-18 07:10:07 +0300 |
commit | 506d8448cc006a0c1c51947999a50addbfedcb15 (patch) | |
tree | bec2390fcca2b7914ea2a5b022685e9248e6b3da /source/blender/windowmanager/intern/wm_init_exit.c | |
parent | db8ca0f17a9d9f44c63c76c79925019a2d5e1a00 (diff) |
WM: app-template command line override
Without this, there was no simple way to have
launchers for different app-templates.
Also allows force-disabling the app-template stored in the preferences.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_init_exit.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index 088327fa611..185cf3fad4f 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -195,8 +195,7 @@ void WM_init(bContext *C, int argc, const char **argv) wm_init_reports(C); /* get the default database, plus a wm */ - wm_homefile_read(C, NULL, G.factory_startup, false, true, NULL, NULL); - + wm_homefile_read(C, NULL, G.factory_startup, false, true, NULL, WM_init_state_app_template_get()); BLT_lang_set(NULL); |