[Bf-blender-cvs] [55c626770e4] master: Fix T68429: wrong pose bone hide icon in outliner

Nathan Craddock noreply at git.blender.org
Wed Aug 21 06:34:46 CEST 2019


Commit: 55c626770e4bd416f37a6211ff5f6d20183db307
Author: Nathan Craddock
Date:   Tue Aug 20 22:08:51 2019 -0600
Branches: master
https://developer.blender.org/rB55c626770e4bd416f37a6211ff5f6d20183db307

Fix T68429: wrong pose bone hide icon in outliner

The hide icon was drawing instead of the disable in viewports icon.

===================================================================

M	source/blender/editors/space_outliner/outliner_draw.c

===================================================================

diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index 9c45fb15f6b..cd7cd8b84fb 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -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,



More information about the Bf-blender-cvs mailing list