[Bf-blender-cvs] [af876b12f1f] blender-v2.83-release: Fix T75519: Graph editor tooltips give false impression of the toggle state
yves
noreply at git.blender.org
Mon Apr 27 18:32:00 CEST 2020
Commit: af876b12f1f7925228a568d7ae1f412babf08114
Author: yves
Date: Mon Apr 27 18:22:54 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rBaf876b12f1f7925228a568d7ae1f412babf08114
Fix T75519: Graph editor tooltips give false impression of the toggle state
It is just a quick fix for the tooltips in the graph editor, it replaces:
- "F-curve modifiers are disabled" with "Enable F-Curve modifiers"
- "F-curve is visible in graph editor for editing" with "F-Curve visibility in Graph Editor".
Reviewed By: billreynish
Maniphest Tasks: T75519
Differential Revision: https://developer.blender.org/D7387
===================================================================
M source/blender/editors/animation/anim_channels_defines.c
===================================================================
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c
index b569f909d7a..d48e09e0504 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -4819,7 +4819,7 @@ static void draw_setting_widget(bAnimContext *ac,
icon = ICON_HIDE_ON;
if (ELEM(ale->type, ANIMTYPE_FCURVE, ANIMTYPE_NLACURVE)) {
- tooltip = TIP_("F-Curve is visible in Graph Editor for editing");
+ tooltip = TIP_("F-Curve visibility in Graph Editor");
}
else if (ale->type == ANIMTYPE_GPLAYER) {
tooltip = TIP_("Grease Pencil layer is visible in the viewport");
@@ -4836,7 +4836,7 @@ static void draw_setting_widget(bAnimContext *ac,
case ACHANNEL_SETTING_MOD_OFF: /* modifiers disabled */
icon = ICON_MODIFIER_OFF;
- tooltip = TIP_("F-Curve modifiers are disabled");
+ tooltip = TIP_("Enable F-Curve modifiers");
break;
case ACHANNEL_SETTING_EXPAND: /* expanded triangle */
More information about the Bf-blender-cvs
mailing list