diff --git a/src/emc/usr_intf/gremlin/qt5_graphics.py b/src/emc/usr_intf/gremlin/qt5_graphics.py index b7a245b7c61..fa07710bd27 100644 --- a/src/emc/usr_intf/gremlin/qt5_graphics.py +++ b/src/emc/usr_intf/gremlin/qt5_graphics.py @@ -18,7 +18,6 @@ LIB_GOOD = True try: from OpenGL import GL - from OpenGL.GL import glColor4f from OpenGL import GLU except ImportError: LOG.error('Qtvcp Error with graphics - is python3-openGL installed?') @@ -934,7 +933,7 @@ def _draw_gradient_background(self): c2 = self.gradient_color2 def v(x, y, c): - return (x, y, 0.0, c[0], c[1], c[2], 1.0, 0.0, 0.0) + return (x, y, 0.0, c[0], c[1], c[2], 1.0, 0.0) verts = np.array([v(-1, -1, c1), v(1, -1, c1), v(1, 1, c2), v(-1, -1, c1), v(1, 1, c2), v(-1, 1, c2)], dtype=np.float32)