diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-03 05:15:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-03 05:19:18 +0300 |
commit | a677cdab56b27555303e9634db1e7a819de8be30 (patch) | |
tree | f2131b0b909ad1050a6f86e60d9656b897453ccf /source/blender/blenloader | |
parent | 2c0db07eed6cb85aad6825aa2c4ccb2ca35b9e9b (diff) |
Defaults: disable developer extras
Was enabled by accident when updating startup.blend.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_defaults.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c index 45c2a50cc3f..1da9d692440 100644 --- a/source/blender/blenloader/intern/versioning_defaults.c +++ b/source/blender/blenloader/intern/versioning_defaults.c @@ -68,6 +68,11 @@ void BLO_update_defaults_userpref_blend(void) U.flag &= ~USER_SCRIPT_AUTOEXEC_DISABLE; #endif + /* Transform tweak with single click and drag. */ + U.flag |= USER_RELEASECONFIRM; + + U.flag &= ~(USER_DEVELOPER_UI | USER_TOOLTIPS_PYTHON); + /* Clear addon preferences. */ for (bAddon *addon = U.addons.first, *addon_next; addon != NULL; addon = addon_next) { addon_next = addon->next; @@ -79,9 +84,6 @@ void BLO_update_defaults_userpref_blend(void) } } - /* Transform tweak with single click and drag. */ - U.flag |= USER_RELEASECONFIRM; - /* Ignore the theme saved in the blend file, * instead use the theme from 'userdef_default_theme.c' */ { |