From c75a25e9e16692dde2efe902aba2b4a834eec8fe Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 2 Nov 2018 13:05:05 +0100 Subject: Fix issues with hide/restrict icons after recent changes. Set the names to match the original order again, to avoid breaking addons and various places in the code that relied on them. --- source/blender/editors/space_clip/clip_buttons.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_clip') diff --git a/source/blender/editors/space_clip/clip_buttons.c b/source/blender/editors/space_clip/clip_buttons.c index 6953b7cfb71..a106ab5c465 100644 --- a/source/blender/editors/space_clip/clip_buttons.c +++ b/source/blender/editors/space_clip/clip_buttons.c @@ -390,6 +390,7 @@ void uiTemplateMarker(uiLayout *layout, PointerRNA *ptr, const char *propname, P bt = uiDefIconButBitI(block, UI_BTYPE_TOGGLE_N, MARKER_DISABLED, 0, ICON_HIDE_OFF, 0, 0, UI_UNIT_X, UI_UNIT_Y, &cb->marker_flag, 0, 0, 1, 0, tip); UI_but_funcN_set(bt, marker_update_cb, cb, NULL); + UI_but_drawflag_enable(bt, UI_BUT_ICON_REVERSE); } else { int width, height, step, digits; -- cgit v1.2.3