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
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_draw.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c3
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);
}
}
}