Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/emc/usr_intf/gremlin/qt5_graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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?')
Expand Down Expand Up @@ -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)
Expand Down