PDA

View Full Version : New mouse bug


Renato Lima
05-11-2011, 03:32 PM
There is a new bug now:

if viz.mouse.setOverride(viz.ON) is issued when the mouse is has one of its buttons down, it will keep considering the mouse buttons as pressed. after viz.mouse.setOverride(viz.OFF), even if they were released.

Renato Lima
05-11-2011, 06:02 PM
Just to give a better explanation: If I have a function being looped during vizard's execution, and on this function I have:

if viz.mouse.getState() == 5: viz.mouse.setOverride()
else: viz.mouse.setOverride(viz.OFF)

It works alright when I double click (5)by halting execution of the function, but when I release, it comes back thinking that the two mouse buttons are still being pressed.