I'm setting up an interval that calls the function 'update' every 5
seconds. But sometimes I have to reschedule the interval. To do so I
first unschedule the old interval and reschedule the interval as
follows:

==================================
pyglet.clock.unschedule(update)
pyglet.clock.schedule_interval(update, 5)

==================================

The first time the interval runs the correct interval of 5 seconds is
used, the second time the same interval is scheduled the timing seems
to be around 2 seconds. How could that be?

Thanks.
2B
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to