fix triangle and ellipse

This commit is contained in:
Thomas Hansen 2010-11-16 23:22:21 -06:00
parent dd8ecbd9e1
commit 1804dea8e6
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ cdef class Triangle(VertexInstruction):
def __get__(self):
return self._tex_coords
def __set__(self, tc):
self._tex_coords = list(tc[0],tc[1],tc[2],tc[3],tc[4],tc[5])
self._tex_coords = list(tc)
self.flag_update()
@ -242,7 +242,7 @@ cdef class BorderImage(ImageRectangle):
cdef class Ellipse(Rectangle):
cdef int _segments
cdef int segments
def __init__(self, *args, **kwargs):
Rectangle.__init__(self, **kwargs)