Fix line width not being set
This commit is contained in:
parent
d70e870a44
commit
603e1b98bc
@ -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