diff options
author | Joshua Leung <aligorith@gmail.com> | 2013-11-20 16:01:10 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2013-11-20 16:33:02 +0400 |
commit | 96a4ee725e7685b4b3846d3d23ad8fb7429a9be9 (patch) | |
tree | 803a0c96edd5147baa7c43bb24cfa3b33cc2c9b4 | |
parent | 2213b93521de4fc2221e448d4eef4bba8399b617 (diff) |
Anim Editors: Improve some tooltips to be more accurate for the type of editor/data they're shown for
This commit fixes some problems where some tooltips were not adapting
as intended when used for different channel types in different places.
-rw-r--r-- | source/blender/editors/animation/anim_channels_defines.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index a67e69e1665..d02626f9274 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -3502,7 +3502,7 @@ static void draw_setting_widget(bAnimContext *ac, bAnimListElem *ale, bAnimChann icon = ICON_VISIBLE_IPO_OFF; if (ale->type == ANIMTYPE_FCURVE) - tooltip = TIP_("Channel is visible in Graph Editor for editing"); + tooltip = TIP_("F-Curve is visible in Graph Editor for editing"); else tooltip = TIP_("Channels are visible in Graph Editor for editing"); break; @@ -3516,7 +3516,7 @@ static void draw_setting_widget(bAnimContext *ac, bAnimListElem *ale, bAnimChann case ACHANNEL_SETTING_SOLO: /* NLA Tracks only */ //icon = ((enabled) ? ICON_SOLO_OFF : ICON_SOLO_ON); icon = ICON_SOLO_OFF; - tooltip = TIP_("NLA Track is the only one evaluated for the AnimData block it belongs to"); + tooltip = TIP_("NLA Track is the only one evaluated in this Animation Data block, with all others muted"); break; /* --- */ @@ -3525,14 +3525,18 @@ static void draw_setting_widget(bAnimContext *ac, bAnimListElem *ale, bAnimChann // TODO: what about when there's no protect needed? //icon = ((enabled) ? ICON_LOCKED : ICON_UNLOCKED); icon = ICON_UNLOCKED; - tooltip = TIP_("Editability of keyframes for this channel"); + + if (ale->datatype != ALE_NLASTRIP) + tooltip = TIP_("Editability of keyframes for this channel"); + else + tooltip = TIP_("Editability of NLA Strips in this track"); break; case ACHANNEL_SETTING_MUTE: /* muted speaker */ //icon = ((enabled) ? ICON_MUTE_IPO_ON : ICON_MUTE_IPO_OFF); icon = ICON_MUTE_IPO_OFF; - if (ale->type == ALE_FCURVE) + if (ale->type == ANIMTYPE_FCURVE) tooltip = TIP_("Does F-Curve contribute to result"); else tooltip = TIP_("Do channels contribute to result"); |