WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   New mouse bug (https://forum.worldviz.com/showthread.php?t=3744)

Renato Lima 05-11-2011 03:32 PM

New mouse bug
 
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.


All times are GMT -7. The time now is 12:20 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC