diff --git a/kivy/graphics/vertex_instructions.pyx b/kivy/graphics/vertex_instructions.pyx index a4ad1e078..f83331f68 100644 --- a/kivy/graphics/vertex_instructions.pyx +++ b/kivy/graphics/vertex_instructions.pyx @@ -723,6 +723,10 @@ cdef class Quad(VertexInstruction): return self._points def __set__(self, points): self._points = list(points) + if len(self._points) != 8: + raise GraphicException( + 'Quad: invalid number of points (%d instead of 8' % len( + self._points))) self.flag_update()