Bugfix: GLScatterPlotItem would not display when using non-array size and pxMode=True

This commit is contained in:
Luke Campagnola 2012-10-31 02:07:19 -04:00
parent eab1d75592
commit a5a40be8bb

View File

@ -139,7 +139,8 @@ class GLScatterPlotItem(GLGraphicsItem):
glNormalPointerf(norm)
else:
glPointSize(self.size)
glNormal3f(self.size,0,0)
#glPointSize(self.size)
glDrawArrays(GL_POINTS, 0, len(self.pos))
finally:
glDisableClientState(GL_NORMAL_ARRAY)