UI: Use checkbox for shape keys 'mute'.

Muting functions as enable/disable toggle, it's not viewport-only.
This commit is contained in:
Pablo Vazquez 2019-02-20 18:56:26 +01:00
parent 3f65cad5ae
commit 12a6059f8a
1 changed files with 2 additions and 2 deletions

View File

@ -894,8 +894,8 @@ static void rna_def_keyblock(BlenderRNA *brna)
prop = RNA_def_property(srna, "mute", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", KEYBLOCK_MUTE);
RNA_def_property_ui_text(prop, "Mute", "Mute this shape key");
RNA_def_property_ui_icon(prop, ICON_HIDE_OFF, -1);
RNA_def_property_ui_text(prop, "Mute", "Toggle this shape key");
RNA_def_property_ui_icon(prop, ICON_CHECKBOX_HLT, -1);
RNA_def_property_update(prop, 0, "rna_Key_update_data");
prop = RNA_def_property(srna, "slider_min", PROP_FLOAT, PROP_NONE);