Merge pull request #1317 from Dennis-van-Gils/master
Fix line width not being set
This commit is contained in:
commit
3c6dad376a
|
@ -580,6 +580,7 @@ class PlotCurveItem(GraphicsObject):
|
|||
if pen.isCosmetic() and width < 1:
|
||||
width = 1
|
||||
gl.glPointSize(width)
|
||||
gl.glLineWidth(width)
|
||||
gl.glEnable(gl.GL_LINE_SMOOTH)
|
||||
gl.glEnable(gl.GL_BLEND)
|
||||
gl.glBlendFunc(gl.GL_SRC_ALPHA, gl.GL_ONE_MINUS_SRC_ALPHA)
|
||||
|
|
Loading…
Reference in New Issue
Block a user