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/blenloader/BLO_readfile.h | |
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/blenloader/BLO_readfile.h')
-rw-r--r-- | source/blender/blenloader/BLO_readfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index 4571e50dd36..88d89d9d6da 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -228,7 +228,7 @@ void BLO_update_defaults_startup_blend(struct Main *bmain, const char *app_templ void BLO_update_defaults_workspace(struct WorkSpace *workspace, const char *app_template); /* Version patch user preferences. */ -void BLO_version_defaults_userpref_blend(struct Main *bmain, struct UserDef *userdef); +void BLO_version_defaults_userpref_blend(struct UserDef *userdef); /* Disable unwanted experimental feature settings on startup. */ void BLO_sanitize_experimental_features_userpref_blend(struct UserDef *userdef); |