diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-10-15 15:52:43 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2014-10-15 15:54:21 +0400 |
commit | b6f0ad5d9744d963d005a9d723033dd29616a056 (patch) | |
tree | f8f53cb018e79002890eb8b95f96a1a8396d53a6 /release | |
parent | 2db117aa6c83c3e02c84ba15270b4fd1e61d8200 (diff) |
Disable color editing for bone group color sets unless custom colors is
selected.
The bone group colors are not actually used _unless_ when the set is
"custom colors". But they were still editable, which is very confusing.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_armature.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_armature.py b/release/scripts/startup/bl_ui/properties_data_armature.py index c6823f17153..6a8f9c586ed 100644 --- a/release/scripts/startup/bl_ui/properties_data_armature.py +++ b/release/scripts/startup/bl_ui/properties_data_armature.py @@ -144,6 +144,7 @@ class DATA_PT_bone_groups(ArmatureButtonsPanel, Panel): if group.color_set: col = split.column() sub = col.row(align=True) + sub.enabled = group.is_custom_color_set # only custom colors are editable sub.prop(group.colors, "normal", text="") sub.prop(group.colors, "select", text="") sub.prop(group.colors, "active", text="") |