diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-02 15:05:05 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-02 17:21:54 +0300 |
commit | c75a25e9e16692dde2efe902aba2b4a834eec8fe (patch) | |
tree | e878ae12967d464948d34a99d13b4d20db902e46 /source/blender/editors/space_clip | |
parent | 2e6637bdf6adedadda49a9725e7238d49b697817 (diff) |
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.
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r-- | source/blender/editors/space_clip/clip_buttons.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |