diff pytouhou/ui/anmrenderer.py @ 384:690b5faaa0e6

Make rendering of multiple-sprites elements work like single-sprites.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 02 Oct 2012 13:27:05 +0200
parents b9aecdc6f72f
children 402e96a0baeb
line wrap: on
line diff
--- a/pytouhou/ui/anmrenderer.py
+++ b/pytouhou/ui/anmrenderer.py
@@ -49,6 +49,7 @@ class ANMRenderer(pyglet.window.Window, 
         self.force_allow_dest_offset = False
         self.index_items()
         self.load(index)
+        self.objects = [self]
 
         self.x = width / 2
         self.y = height / 2