[Bf-blender-cvs] [47dd7d7] master: Fix T46841: Thick lines w/ graph visible

Campbell Barton noreply at git.blender.org
Mon Nov 23 12:03:00 CET 2015


Commit: 47dd7d71337e069c7320338e0031199d9b5fb877
Author: Campbell Barton
Date:   Mon Nov 23 21:55:35 2015 +1100
Branches: master
https://developer.blender.org/rB47dd7d71337e069c7320338e0031199d9b5fb877

Fix T46841: Thick lines w/ graph visible

===================================================================

M	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 2f1f72b..200523f 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 */




More information about the Bf-blender-cvs mailing list