diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-02 13:11:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-02 13:21:27 +0300 |
commit | d1f6c2e7bb59e12f381bffdbaf8274936f404b7e (patch) | |
tree | 797bf49c87aa1b336f7f9c8bf602465f89671c7a /source/blender/windowmanager | |
parent | 34228d138b79e9ad6cdbded4bc5df1eefb1aad1c (diff) |
Fix userpref.blend using version from startup.blend
Version patching userpref.blend wasn't using the correct version,
causing settings not to be properly updated.
This seems the likely cause of T70196 and similar bugs.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 7382a784ae0..6e3a5ccb339 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -392,7 +392,7 @@ static void wm_window_match_do(bContext *C, static void wm_init_userdef(Main *bmain) { /* versioning is here */ - UI_init_userdef(bmain); + UI_init_userdef(); /* needed so loading a file from the command line respects user-pref T26156. */ SET_FLAG_FROM_TEST(G.fileflags, U.flag & USER_FILENOUI, G_FILE_NO_UI); |