Bugfix: GLScatterPlotItem would not display when using non-array size and pxMode=True
This commit is contained in:
parent
eab1d75592
commit
a5a40be8bb
@ -139,7 +139,8 @@ class GLScatterPlotItem(GLGraphicsItem):
|
|||||||
|
|
||||||
glNormalPointerf(norm)
|
glNormalPointerf(norm)
|
||||||
else:
|
else:
|
||||||
glPointSize(self.size)
|
glNormal3f(self.size,0,0)
|
||||||
|
#glPointSize(self.size)
|
||||||
glDrawArrays(GL_POINTS, 0, len(self.pos))
|
glDrawArrays(GL_POINTS, 0, len(self.pos))
|
||||||
finally:
|
finally:
|
||||||
glDisableClientState(GL_NORMAL_ARRAY)
|
glDisableClientState(GL_NORMAL_ARRAY)
|
||||||
|
Loading…
Reference in New Issue
Block a user