WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 05-11-2011, 04:32 PM
Renato Lima Renato Lima is offline
Join Date: Sep 2010
Posts: 54
Exclamation 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.
Reply With Quote
Old 05-11-2011, 07:02 PM
Renato Lima Renato Lima is offline
Join Date: Sep 2010
Posts: 54
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.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse bug in V3 and V4 Renato Lima Vizard 2 05-11-2011 07:38 PM
Mouse event: how to detect no mouse move event, how to set mouse position? Zhi Vizard 3 04-11-2011 07:25 PM
Warning mouse() -> Set mouse() of window johannes2 Vizard 1 08-19-2010 03:11 PM
how to remove velocity when mouse is disabled? jvacare1 Vizard 2 02-18-2010 11:25 AM
Navigating an avatar using mouse position(2D) in 3D environment james007 Vizard 1 10-16-2009 12:29 PM

All times are GMT -7. The time now is 01:47 AM.

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