Defaults: disable developer extras

Was enabled by accident when updating startup.blend.
This commit is contained in:
2019-05-03 12:15:25 +10:00
parent 2c0db07eed
commit a677cdab56

View File

@@ -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' */
{