fogleman / pg

Python OpenGL Graphics Framework

Home Page:http://pg.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Click in 'cuboids example'

stuaxo opened this issue · comments

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 314, in 'calling callback function'
  File "/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/pg-0.1-py2.7.egg/pg/core.py", line 724, in _on_mouse_button
    self.call('on_mouse_button', button, action, mods)
  File "/mnt/data/home/stu/.virtualenvs/3d/local/lib/python2.7/site-packages/pg-0.1-py2.7.egg/pg/core.py", line 707, in call
    if getattr(listener, name)(*args, **kwargs):
  File "cuboids.py", line 79, in on_mouse_button
    self.time, self.wasd.position, self.wasd.get_sight_vector())
AttributeError: 'Window' object has no attribute 'time'