diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-05 16:26:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-05 16:45:04 +0300 |
commit | 95ca3f6536f1b756a0c87578f8d9d757ba9cd3a4 (patch) | |
tree | f3c7bc108666d39f39cb24dea93910a5b1ffa633 /source/blender/windowmanager/intern/wm_init_exit.c | |
parent | 70b3469c0e46ca8782bac48d76f0efb3ce1f65ac (diff) |
Fix T72169: "New File" loads UI, even when disabled
Partially reverts b500f427009f0, callers now set this flag.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_init_exit.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index c8c35ba1bfc..a6d3adacc14 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -291,6 +291,8 @@ void WM_init(bContext *C, int argc, const char **argv) * otherwise the versioning cannot find the default studio-light. */ BKE_studiolight_init(); + BLI_assert((G.fileflags & G_FILE_NO_UI) == 0); + wm_homefile_read(C, NULL, G.factory_startup, |