From 47dd7d71337e069c7320338e0031199d9b5fb877 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 23 Nov 2015 21:55:35 +1100 Subject: Fix T46841: Thick lines w/ graph visible --- source/blender/editors/space_graph/space_graph.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/editors/space_graph/space_graph.c') diff --git a/source/blender/editors/space_graph/space_graph.c b/source/blender/editors/space_graph/space_graph.c index 2f1f72bcf78..200523f591d 100644 --- a/source/blender/editors/space_graph/space_graph.c +++ b/source/blender/editors/space_graph/space_graph.c @@ -284,6 +284,8 @@ static void graph_main_area_draw(const bContext *C, ARegion *ar) glVertex2fv(vec); glEnd(); // GL_LINE_STRIP glDisable(GL_BLEND); + + glLineWidth(1.0); } /* current frame or vertical component of vertical component of the cursor */ @@ -306,6 +308,8 @@ static void graph_main_area_draw(const bContext *C, ARegion *ar) glVertex2fv(vec); glEnd(); // GL_LINE_STRIP glDisable(GL_BLEND); + + glLineWidth(1.0); } else { /* current frame */ -- cgit v1.2.3