[Bf-blender-cvs] [12a6059f8a4] master: UI: Use checkbox for shape keys 'mute'.
Pablo Vazquez
noreply at git.blender.org
Wed Feb 20 18:56:29 CET 2019
Commit: 12a6059f8a485a0124f98d89cc38cbc98fd35008
Author: Pablo Vazquez
Date: Wed Feb 20 18:56:26 2019 +0100
Branches: master
https://developer.blender.org/rB12a6059f8a485a0124f98d89cc38cbc98fd35008
UI: Use checkbox for shape keys 'mute'.
Muting functions as enable/disable toggle, it's not viewport-only.
===================================================================
M source/blender/makesrna/intern/rna_key.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_key.c b/source/blender/makesrna/intern/rna_key.c
index e14ed5aee0a..80d6ca1ca15 100644
--- a/source/blender/makesrna/intern/rna_key.c
+++ b/source/blender/makesrna/intern/rna_key.c
@@ -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);
More information about the Bf-blender-cvs
mailing list