From 905b0c2bc0203621e132d6e4bd40df947b8a1555 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Mon, 31 Jan 2011 15:32:06 +0100 Subject: [PATCH] graphics: compiler is broken when we have more than one canvas in the game. temporary disable it to prevent ui bugs. --- kivy/graphics/compiler.pyx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kivy/graphics/compiler.pyx b/kivy/graphics/compiler.pyx index 07ac890f6..89de92784 100644 --- a/kivy/graphics/compiler.pyx +++ b/kivy/graphics/compiler.pyx @@ -53,6 +53,9 @@ from instructions cimport Instruction, RenderContext, ContextInstruction cdef class GraphicsCompiler: cdef InstructionGroup compile(self, InstructionGroup group): + return group + + ''' cdef Instruction c cdef ContextInstruction ci cdef RenderContext rc = None @@ -92,3 +95,4 @@ cdef class GraphicsCompiler: group.flags |= GI_NO_APPLY_ONCE return group + '''