diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2020-08-20 20:44:13 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2020-08-20 20:44:13 +0300 |
commit | 37f9b915acef3ecb49ab59b359fd8021fa485836 (patch) | |
tree | 082bc30110ae5a205b5266143233f5184d8b0392 /source/blender | |
parent | 65afd36ed7a1bb42d4e1a4ad3bac5acfa45590a2 (diff) |
Fix: Line highlight using wrong function
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); } } } |