Fix T68429: wrong pose bone hide icon in outliner

The hide icon was drawing instead of the disable in viewports icon.
This commit is contained in:
Nathan Craddock 2019-08-20 22:08:51 -06:00
parent 50fdbf3ec0
commit 55c626770e
Notes: blender-bot 2023-02-14 01:17:58 +01:00
Referenced by issue #68429, Outliner, Visibility filter toggle doesn't show controls for armature bones to hide/unhide
1 changed files with 1 additions and 1 deletions

View File

@ -1280,7 +1280,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
UI_BTYPE_ICON_TOGGLE,
BONE_HIDDEN_P,
0,
ICON_HIDE_OFF,
ICON_RESTRICT_VIEW_OFF,
(int)(ar->v2d.cur.xmax - restrict_offsets.viewport),
te->ys,
UI_UNIT_X,