diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-12-07 18:54:39 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-12-07 18:58:39 +0300 |
commit | fb82cfb539f4a33b6fa0a3b44f4833d27b9ef8ca (patch) | |
tree | e925fe2913d1fe6409bcb3bb91c54aa5927bbd9b | |
parent | bab57550b69b8429bb2f081fbc75f1d1ca035a34 (diff) |
Animation: Show Channel Group Colors is now off by default
Change the default for the Show Channel Group Colors preference to OFF.
This option in the user preferences was introduced in rBad85256e7108. It
moved a per-file-per-editor option to the user preferences. As this
option would be frequently turned off by animators, this would now have
to happen only once. This commit takes this one step further, and turns
it off by default, as it can cause major readability issues of the
animation channel list.
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 4 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index 1266a0c01f8..1d85109774c 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -817,10 +817,6 @@ void blo_do_versions_userdef(UserDef *userdef) userdef->uiflag &= ~USER_UIFLAG_UNUSED_3; } - if (!USER_VERSION_ATLEAST(292, 4)) { - userdef->animation_flag = USER_ANIM_SHOW_CHANNEL_GROUP_COLORS; - } - /** * Versioning code until next subversion bump goes here. * diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 23f3a04fd91..628eff54032 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -5026,7 +5026,6 @@ static void rna_def_userdef_edit(BlenderRNA *brna) prop, "Channel Group Colors", "Use animation channel group colors; generally this is used to show bone group colors"); - RNA_def_property_boolean_default(prop, true); RNA_def_property_update(prop, 0, "rna_userdef_anim_update"); prop = RNA_def_property(srna, "fcurve_new_auto_smoothing", PROP_ENUM, PROP_NONE); |