[Bf-blender-cvs] [66a5df82b5f] master: Fix missiong collection move line in outliner after recent changes
Harley Acheson
noreply at git.blender.org
Fri May 3 14:25:19 CEST 2019
Commit: 66a5df82b5f646757d4ab249b04d7ce7b91b2b36
Author: Harley Acheson
Date: Fri May 3 14:19:26 2019 +0200
Branches: master
https://developer.blender.org/rB66a5df82b5f646757d4ab249b04d7ce7b91b2b36
Fix missiong collection move line in outliner after recent changes
Differential Revision: https://developer.blender.org/D4781
===================================================================
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 b556f58a02d..9d6008ce3a8 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -2513,11 +2513,15 @@ static void outliner_draw_highlights_recursive(unsigned pos,
if (tselem->flag & TSE_DRAG_BEFORE) {
immUniformColor4fv(col);
- immRecti(pos, start_x, start_y + UI_UNIT_Y, end_x, start_y + UI_UNIT_Y);
+ immRecti(pos,
+ start_x,
+ start_y + UI_UNIT_Y - U.pixelsize,
+ end_x,
+ start_y + UI_UNIT_Y + U.pixelsize);
}
else if (tselem->flag & TSE_DRAG_AFTER) {
immUniformColor4fv(col);
- immRecti(pos, start_x, start_y, end_x, start_y);
+ immRecti(pos, start_x, start_y - U.pixelsize, end_x, start_y + U.pixelsize);
}
else {
immUniformColor3fvAlpha(col, col[3] * 0.5f);
More information about the Bf-blender-cvs
mailing list