From ce704a1baaf58d4adb0abfd9d5bf7bad83a0023a Mon Sep 17 00:00:00 2001 From: Fekete Imre Date: Fri, 13 Apr 2018 16:23:41 +0200 Subject: [PATCH] Fix issue #145 Disable textures after painting is finished. --- pyqtgraph/opengl/items/GLScatterPlotItem.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyqtgraph/opengl/items/GLScatterPlotItem.py b/pyqtgraph/opengl/items/GLScatterPlotItem.py index dc4b298a..fe794d48 100644 --- a/pyqtgraph/opengl/items/GLScatterPlotItem.py +++ b/pyqtgraph/opengl/items/GLScatterPlotItem.py @@ -152,7 +152,9 @@ class GLScatterPlotItem(GLGraphicsItem): glDisableClientState(GL_VERTEX_ARRAY) glDisableClientState(GL_COLOR_ARRAY) #posVBO.unbind() - + ##fixes #145 + glDisable( GL_TEXTURE_2D ) + #for i in range(len(self.pos)): #pos = self.pos[i]