From 4774657370e005b3c2b7e4c76885e5ca55a63ccd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 22 Jun 2019 15:04:46 +1000 Subject: UI: remove Visible IPO icons These are duplicates of HIDE_ON/OFF. --- source/blender/editors/animation/anim_channels_defines.c | 4 ++-- source/blender/editors/datafiles/CMakeLists.txt | 2 -- source/blender/editors/include/UI_icons.h | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'source') diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index 00025112835..7a7769ccc90 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -4520,8 +4520,8 @@ static void draw_setting_widget(bAnimContext *ac, /* get the base icon for the setting */ switch (setting) { case ACHANNEL_SETTING_VISIBLE: /* visibility eyes */ - // icon = ((enabled) ? ICON_VISIBLE_IPO_ON : ICON_VISIBLE_IPO_OFF); - icon = ICON_VISIBLE_IPO_OFF; + // icon = ((enabled) ? ICON_HIDE_OFF : ICON_HIDE_ON); + icon = ICON_HIDE_ON; if (ELEM(ale->type, ANIMTYPE_FCURVE, ANIMTYPE_NLACURVE)) { tooltip = TIP_("F-Curve is visible in Graph Editor for editing"); diff --git a/source/blender/editors/datafiles/CMakeLists.txt b/source/blender/editors/datafiles/CMakeLists.txt index fc94db1cd71..69738d2e008 100644 --- a/source/blender/editors/datafiles/CMakeLists.txt +++ b/source/blender/editors/datafiles/CMakeLists.txt @@ -431,8 +431,6 @@ set(ICON_NAMES key_hlt mute_ipo_off mute_ipo_on - visible_ipo_off - visible_ipo_on driver solo_off solo_on diff --git a/source/blender/editors/include/UI_icons.h b/source/blender/editors/include/UI_icons.h index 340b0f70987..3d2052f1fa9 100644 --- a/source/blender/editors/include/UI_icons.h +++ b/source/blender/editors/include/UI_icons.h @@ -601,8 +601,8 @@ DEF_ICON(KEY_DEHLT) DEF_ICON(KEY_HLT) DEF_ICON(MUTE_IPO_OFF) DEF_ICON(MUTE_IPO_ON) -DEF_ICON(VISIBLE_IPO_OFF) -DEF_ICON(VISIBLE_IPO_ON) +DEF_ICON_BLANK(517) +DEF_ICON_BLANK(516) DEF_ICON(DRIVER) /* ANIMATION */ -- cgit v1.2.3