ywywdh / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

InteractiveScene3DEvent OBJECT_OVER & OBJECT_OUT skipped when objects move under stationary mouse #205

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. suppose we have some objects which are listening for different
InteractiveScene3DEvent (OBJECT_OVER, OBJECT_OUT)
2. we move the objects container using a tweener using the mouse position
3. when we stop moving the mouse the tweener will move the container using
the last tween started; during this tween (if we don't move the mouse) it's
possible that some object start touch the mouse or stop touch the mouse.
4. the problem is that in the InteractiveSceneManager at lines 236 and 248
the event is not dispatched if the user has'n moved the mouse.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Papervision3D 2.0.0 (r.918) - Windows

Please provide any additional information below.

Original issue reported on code.google.com by fabio.ca...@gmail.com on 1 Jul 2009 at 5:37

Attachments:

GoogleCodeExporter commented 9 years ago
You can get around this by commenting out the checks on hasMouseMoved() in
handleMouseOver and handleMouseOut in InteractiveSceneManager

Obviously this means more load on cpu as it is doing the check all the time, 
but it
might help someone.

Neil

Original comment by neilbrow...@googlemail.com on 14 Jul 2009 at 11:22

GoogleCodeExporter commented 9 years ago
have an other issue with the version 2.0883 (windows xp):
when the event MOUSE_OUT is fired, there is in the same time an MOUSE_OVER 
fired ...
Can't have a single event Mouse_out without having mouse_over in the same 
time...

I don't understand why the mouse_out mouse_over events are handeled with 
ENTER_FRAME 
?

sebastien

Original comment by sebasti...@gmail.com on 5 Aug 2009 at 11:46

GoogleCodeExporter commented 9 years ago
thank you neil!!!

Original comment by alessfl...@gmail.com on 8 Sep 2009 at 11:44