UI: Use checkbox for shape keys 'mute'.
Muting functions as enable/disable toggle, it's not viewport-only.
This commit is contained in:
parent
3f65cad5ae
commit
12a6059f8a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user