On Mon, Oct 6, 2008 at 8:33 PM, josch <[EMAIL PROTECTED]> wrote: > > this code should execute loader1 and loader2, right? well, it doesn't. > why? > > #!/usr/bin/python > import pyglet > > window = pyglet.window.Window(256, 256) > > @window.event > def on_draw(): > window.clear() > > def loader2(dt): > print "loader2" > > def loader1(dt): > print "loader1" > pyglet.clock.schedule_once(loader2, 0.0) > > pyglet.clock.schedule_once(loader1, 0.0) > pyglet.app.run()
Thanks for the bug report and test case. Fixed in r2297 (trunk) and r2298 (pyglet-1.1-maintenance). Alex. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
