UI: remove Visible IPO icons

These are duplicates of HIDE_ON/OFF.
This commit is contained in:
Campbell Barton 2019-06-22 15:04:46 +10:00
parent 2642ba13b4
commit 4774657370
8 changed files with 6 additions and 8 deletions

View File

@ -106,7 +106,7 @@ class CLIP_PT_clip_display(Panel):
row.separator()
row.prop(sc, "use_grayscale_preview", text="B/W", toggle=True)
row.separator()
row.prop(sc, "use_mute_footage", text="", icon='VISIBLE_IPO_ON', toggle=True)
row.prop(sc, "use_mute_footage", text="", icon='HIDE_OFF', toggle=True)
layout.separator()
@ -1633,7 +1633,7 @@ class CLIP_MT_tracking_pie(Menu):
prop.backwards = False
prop.sequence = True
# Disable Marker
pie.operator("clip.disable_markers", icon='VISIBLE_IPO_ON').action = 'TOGGLE'
pie.operator("clip.disable_markers", icon='HIDE_OFF').action = 'TOGGLE'
# Detect Features
pie.operator("clip.detect_features", icon='ZOOM_SELECTED')
# Clear Path Backwards

View File

@ -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");

View File

@ -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

View File

@ -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 */