pyglet.clock.Clock.tick not called in pyglet 1.2dev

19 views
Skip to first unread message

claudio canepa

unread,
Apr 25, 2012, 10:33:23 AM4/25/12
to pyglet...@googlegroups.com
I have some code that overrides pyglet.clock.Clock.tick that works fine with pyglet 1.1.4 release.
When testing in pyglet 1.2dev, it stopped to work.

A bit of investigation showed that Clock.tick is not called in pyglet 1.2dev :
    - searchs for '.tick' over all pyglet directory hits only docstrings
    - adding a
         print 'in Clock.tick'
      in pyglet.clock.Clock.tick  and running noisy.py I got a stream of prints in the console with pyglet 1.1.4, nothing with 1.2 dev

Tested with revisions
   parent: 2636:233eab46e8b2 tip  (thats today current)
   parent 2320:34d8862b0cbe  ( a changeset from 2008)

So:

Is this a bug ?

Is this a design change in pyglet (and Clock.tick should be removed from 1.2 code and documentation ?

claudio

--

 
    

Nathan

unread,
May 23, 2012, 11:39:35 PM5/23/12
to pyglet...@googlegroups.com
Claudio,

I'm reasonably sure that that's a design change, and the documentation
needs to be updated and Clock.tick removed.

Someone correct me if I'm wrong.

~ Nathan
Reply all
Reply to author
Forward
0 new messages