diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-24 14:53:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-24 15:03:07 +0300 |
commit | f67a685ad9f6565a2c7054d73188bd2f3003a6df (patch) | |
tree | a015d4af8fb25513c61a0ee26b906566c01d5464 /source/blender/blenloader/intern | |
parent | 660f0c6a0e1fa9bf8e93e3eb6c31dee9ed919192 (diff) |
Cleanup: move console scrollback initialization into versioning
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index f20ef8a07b7..ac7fcdd3769 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -674,6 +674,9 @@ void BLO_version_defaults_userpref_blend(Main *bmain, UserDef *userdef) userdef->view_rotate_sensitivity_turntable = DEG2RADF(0.4f); userdef->view_rotate_sensitivity_trackball = 1.0f; } + if (userdef->scrollback == 0) { + userdef->scrollback = U_default.scrollback; + } /* pass */ } |