Commit a5a40be8 authored by Luke Campagnola's avatar Luke Campagnola
Browse files

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

parent eab1d755
......@@ -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)
......@@ -174,4 +175,4 @@ class GLScatterPlotItem(GLGraphicsItem):
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment