Fix: Outliner hierarchy line width variations
During some operators like rotate in grease pencil edit mode the hierarchy lines in the outliner would draw twice as thick. Set the width before drawing the lines in the outliner. Differential Revision: https://developer.blender.org/D9589
This commit is contained in:
parent
466cd2535b
commit
9a8f5022b7
|
@ -3278,6 +3278,7 @@ static void outliner_draw_hierarchy_lines(SpaceOutliner *space_outliner,
|
|||
UI_GetThemeColorBlend3ubv(TH_BACK, TH_TEXT, 0.4f, col);
|
||||
col[3] = 255;
|
||||
|
||||
GPU_line_width(1.0f);
|
||||
GPU_blend(GPU_BLEND_ALPHA);
|
||||
outliner_draw_hierarchy_lines_recursive(pos, space_outliner, lb, startx, col, false, starty);
|
||||
GPU_blend(GPU_BLEND_NONE);
|
||||
|
|
Loading…
Reference in New Issue