onactionend
Hi,
moving to Vizard 3 from Vizard 2.5 onactionend seems to work differntly:
Old working code:
def onactionend(object,action):
if object == screenWall and action == viz.MOVE:
putGraphOnScreenWall()
viz.callback(viz.ACTION_END_EVENT,onactionend)
New code, not working yet:
def onactionend(e):
print 'end',e.object,e.action
if e.object is screenWall and e.action is viz.MOVE:
putGraphOnScreenWall()
viz.callback(viz.ACTION_END_EVENT,onactionend)
What to do?
Best,
Johannes
|