Warn against using Drawable.draw()
Warn against using Drawable.draw()



Index: trunk/pyglet/scene2d/drawable.py
===================================================================
--- trunk/pyglet/scene2d/drawable.py	(revision 508)
+++ trunk/pyglet/scene2d/drawable.py	(working copy)
@@ -33,7 +33,12 @@
         return style

     def draw(self):
-        '''Convenience method.'''
+        '''Convenience method.
+
+        Don't use this if you have a lot of drawables and care about
+        performance. Collect up your drawables in a list and pass that to
+        draw_many().
+        '''
         self.get_style().draw()

mammadori/pyglet,theblacklion/pyglet,adamlwgriffiths/Pyglet,adamlwgriffiths/Pyglet,adamlwgriffiths/Pyglet,theblacklion/pyglet,theblacklion/pyglet,seeminglee/pyglet64,theblacklion/pyglet,oktayacikalin/pyglet,niklaskorz/pyglet,seeminglee/pyglet64,niklaskorz/pyglet,oktayacikalin/pyglet,theblacklion/pyglet,niklaskorz/pyglet,oktayacikalin/pyglet,oktayacikalin/pyglet,mammadori/pyglet,seeminglee/pyglet64,mammadori/pyglet,oktayacikalin/pyglet,mammadori/pyglet,adamlwgriffiths/Pyglet,niklaskorz/pyglet