From 7efd45eecddbbe891f038a04dab17dadc77d3248 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Wed, 10 Feb 2016 00:41:45 +0100 Subject: Node Editor: Another missing glLineWidth reset Caused too thick outlines around nodes and around preview image in node. --- source/blender/editors/space_node/node_draw.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/space_node/node_draw.c') diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index 9c02acb3683..a4e2d5406f4 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -819,6 +819,8 @@ static void node_draw_basis(const bContext *C, ARegion *ar, SpaceNode *snode, bN } #endif + glLineWidth(1.0f); + UI_draw_roundbox_corner_set(UI_CNR_TOP_LEFT | UI_CNR_TOP_RIGHT); UI_draw_roundbox(rct->xmin, rct->ymax - NODE_DY, rct->xmax, rct->ymax, BASIS_RAD); -- cgit v1.2.3