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:
authorCampbell Barton <ideasman42@gmail.com>2019-12-05 16:26:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-12-05 16:45:04 +0300
commit95ca3f6536f1b756a0c87578f8d9d757ba9cd3a4 (patch)
treef3c7bc108666d39f39cb24dea93910a5b1ffa633 /source/blender/windowmanager/intern/wm_init_exit.c
parent70b3469c0e46ca8782bac48d76f0efb3ce1f65ac (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.c2
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,