From 31825a8b3db40861c1ad8bafbe52e4464dd0f65b Mon Sep 17 00:00:00 2001 From: Ryan Pessa Date: Thu, 28 May 2015 09:57:13 -0500 Subject: [PATCH] fix bad kv --- kivy/graphics/stencil_instructions.pyx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/kivy/graphics/stencil_instructions.pyx b/kivy/graphics/stencil_instructions.pyx index 469a239a5..ff40eaf75 100644 --- a/kivy/graphics/stencil_instructions.pyx +++ b/kivy/graphics/stencil_instructions.pyx @@ -82,11 +82,12 @@ Here is an example, in kv style:: Rectangle: size: 900, 900 - StencilUnUse: - # new in kivy 1.3.0, remove the mask previously added - Rectangle: - pos: 100, 100 - size: 100, 100 + StencilUnUse + + # you must redraw the stencil mask to remove it + Rectangle: + pos: 100, 100 + size: 100, 100 StencilPop