kivy/kivy — pull request #2452 by lobocv (2014-09-03 20:21:56+00:00)
Title: Fix for stencil not being applied when using export_to_png()

Added with_stencilbuffer=True to the FBO instantiation in export_to_png().
This allows the PNG to be created with the stencil.

Also fixed minor formatting issues (white spaces)