Fix wrong f-curve modifier mute checkbox icon / tooltip.
Differential Revision: https://developer.blender.org/D3930
This commit is contained in:
@@ -1404,9 +1404,9 @@ static void rna_def_fmodifier(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "mute", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FMODIFIER_FLAG_MUTED);
|
||||
RNA_def_property_ui_text(prop, "Muted", "F-Curve Modifier will not be evaluated");
|
||||
RNA_def_property_ui_text(prop, "Muted", "Disable F-Curve Modifier evaluation");
|
||||
RNA_def_property_update(prop, NC_ANIMATION | ND_KEYFRAME_PROP, "rna_FModifier_update");
|
||||
RNA_def_property_ui_icon(prop, ICON_CHECKBOX_DEHLT, 1);
|
||||
RNA_def_property_ui_icon(prop, ICON_CHECKBOX_HLT, -1);
|
||||
|
||||
prop = RNA_def_property(srna, "is_valid", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
@@ -2008,7 +2008,7 @@ static void rna_def_fcurve(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "mute", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FCURVE_MUTED);
|
||||
RNA_def_property_ui_text(prop, "Muted", "F-Curve is not evaluated");
|
||||
RNA_def_property_ui_text(prop, "Muted", "Disable F-Curve Modifier evaluation");
|
||||
RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, "rna_FCurve_update_eval");
|
||||
|
||||
prop = RNA_def_property(srna, "hide", PROP_BOOLEAN, PROP_NONE);
|
||||
|
||||
@@ -725,7 +725,7 @@ static void rna_def_nlastrip(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "mute", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", NLASTRIP_FLAG_MUTED);
|
||||
RNA_def_property_ui_text(prop, "Muted", "NLA Strip is not evaluated");
|
||||
RNA_def_property_ui_text(prop, "Muted", "Disable NLA Strip evaluation");
|
||||
RNA_def_property_update(prop, NC_ANIMATION | ND_NLA | NA_EDITED, "rna_NlaStrip_update");
|
||||
|
||||
prop = RNA_def_property(srna, "use_reverse", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -822,7 +822,7 @@ static void rna_def_nlatrack(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "mute", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", NLATRACK_MUTED);
|
||||
RNA_def_property_ui_text(prop, "Muted", "NLA Track is not evaluated");
|
||||
RNA_def_property_ui_text(prop, "Muted", "Disable NLA Track evaluation");
|
||||
RNA_def_property_update(prop, NC_ANIMATION | ND_NLA | NA_EDITED, "rna_NlaStrip_update");
|
||||
|
||||
prop = RNA_def_property(srna, "lock", PROP_BOOLEAN, PROP_NONE);
|
||||
|
||||
Reference in New Issue
Block a user