From 37f9b915acef3ecb49ab59b359fd8021fa485836 Mon Sep 17 00:00:00 2001 From: Nathan Craddock Date: Thu, 20 Aug 2020 11:44:13 -0600 Subject: Fix: Line highlight using wrong function --- source/blender/editors/space_outliner/outliner_draw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender') diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 2f3bb019c20..f7ad689a375 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -3535,8 +3535,7 @@ static void outliner_draw_highlights_recursive(const ARegion *region, } else if (outliner_find_element_with_flag(&te->subtree, TSE_ACTIVE)) { /* Parent highlight for active element in collapsed subtree. */ - immUniformColor4fv(col_highlight); - immRecti(pos, 0, start_y, end_x, start_y + UI_UNIT_Y); + draw_line_highlight(0, start_y, end_x, start_y + UI_UNIT_Y, col_highlight); } } } -- cgit v1.2.3