Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorHarley Acheson <harley>2019-04-25 15:26:03 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-25 15:29:26 +0300
commit0d26bb7672fab239eab7e3f2305fc77cf4f408f7 (patch)
tree9bb48077674f37f6e4e3b611f841d5a4527827dc /source
parenteda7e84aac661f19478b2e5fe94d8899c9782cc8 (diff)
Fix inconsistent collection/object hide icon brightness in outliner
Differential Revision: https://developer.blender.org/D4679
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index 545e31c8b4a..115f557d484 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -902,7 +902,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
ICON_HIDE_OFF;
}
bt = uiDefIconBut(block,
- UI_BTYPE_TOGGLE,
+ UI_BTYPE_ICON_TOGGLE,
0,
icon,
(int)(ar->v2d.cur.xmax - OL_TOG_RESTRICT_VIEWX),
@@ -1014,7 +1014,7 @@ static void outliner_draw_userbuts(uiBlock *block, ARegion *ar, SpaceOutliner *s
tip = TIP_("Data-block has no users and will be deleted");
}
bt = uiDefIconButBitS(block,
- UI_BTYPE_TOGGLE,
+ UI_BTYPE_ICON_TOGGLE,
LIB_FAKEUSER,
1,
icon,
@@ -1049,7 +1049,7 @@ static void outliner_draw_userbuts(uiBlock *block, ARegion *ar, SpaceOutliner *s
UI_but_flag_enable(bt, but_flag);
bt = uiDefButBitS(block,
- UI_BTYPE_TOGGLE,
+ UI_BTYPE_ICON_TOGGLE,
LIB_FAKEUSER,
1,
(id->flag & LIB_FAKEUSER) ? "F" : " ",