I hit send too fast. Let me write it again:

Hi J-S,

Just put breakpoints at line where warning is output and in
GraphicsWindowWin32::realizeImplementation(). First is hit before the second.

So case is straight forward:
FlightManipulator is added to KeySwithcManipulator set as main Viewer
CameraManipulator. When added it calls home() to initialize and home() calls
requestWarpPointer() to center mouse  position.
Its done before Viewer::realize() so the warning is correct.

Question is whether requestWarpPointer() should be called there if its not
working. GraphicsWindowX11::requestWarpPointer most probably does not work
too, but it does not display the warning...

Wojtek
PS. Hope it clearer now.

--------------------------------------------------
From: "Wojciech Lewandowski" <[email protected]>
Sent: Friday, June 18, 2010 4:18 PM
To: "OpenSceneGraph Users" <[email protected]>
Subject: Re: [osg-users] Developer release of OSG and VPB imminent,please test.

Hi J-S,

Jusat put breakpoints at line where warning is output and in GraphicsWindowWin32::realizeImplementation. First is hit before the second. So case is straight forward. FlightManipulator is added to KeySwithcManipulator set as main Viewer CameraManipulator. When added it call home to initialize and home calls requestWarpPointer to center mouse positio. As its done before Viewer::realize the warning is correct.

Question is whether requestWarpPointer should be called there if its not working. GraphicsWindowX11::requestWarpPointer most probably does not work too but it does not display the warning...

Wojtek
PS. In my opinion

--------------------------------------------------
From: "Jean-Sébastien Guay" <[email protected]>
Sent: Friday, June 18, 2010 4:00 PM
To: "OpenSceneGraph Users" <[email protected]>
Subject: Re: [osg-users] Developer release of OSG and VPB imminent, please test.

Hi Wojtek, Wang Rui,

Its on QuadroPlex. But I doubt hardware is involved. Maybe Windows
version (mine is 7 64 bit) has more to do with it...

Windows 7 64bit here too... Wang Rui, were you able to debug into the code and find anything?

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to