Commit 541826a6 authored by sumpfralle's avatar sumpfralle

fixed typo


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@353 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 266b86cf
...@@ -88,8 +88,8 @@ class Line: ...@@ -88,8 +88,8 @@ class Line:
def to_OpenGL(self): def to_OpenGL(self):
if GL_enabled: if GL_enabled:
GL.glBegin(GL.GL_LINES) GL.glBegin(GL.GL_LINES)
GL.glVertex3f(p1.x, p1.y, p1.z) GL.glVertex3f(self.p1.x, self.p1.y, self.p1.z)
GL.glVertex3f(p2.x, p2.y, p2.z) GL.glVertex3f(self.p2.x, self.p2.y, self.p2.z)
GL.glEnd() GL.glEnd()
def get_points(self): def get_points(self):
......
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