WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-11-2011, 03:32 PM
Renato Lima Renato Lima is offline
Member
 
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
  #2  
Old 05-11-2011, 06:02 PM
Renato Lima Renato Lima is offline
Member
 
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
Reply

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 06:38 PM
Mouse event: how to detect no mouse move event, how to set mouse position? Zhi Vizard 3 04-11-2011 06:25 PM
Warning mouse() -> Set mouse() of window johannes2 Vizard 1 08-19-2010 02:11 PM
how to remove velocity when mouse is disabled? jvacare1 Vizard 2 02-18-2010 10:25 AM
Navigating an avatar using mouse position(2D) in 3D environment james007 Vizard 1 10-16-2009 11:29 AM


All times are GMT -7. The time now is 03:27 PM.


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