[osg-submissions] [osg-users] eventState problem in CompositeViewer
Jean-Sébastien Guay
jean-sebastien.guay at cm-labs.com
Mon Feb 25 11:44:17 PST 2008
Hello Robert,
I didn't get any response to my request for testing this change, so I'll
submit it now and see what you think.
The problem can be reproduced by simply changing the osgpick example to
use a CompositeViewer with a single view initialized using
setUpViewAcrossAllScreens(). I have attached a modified osgpick.cpp so
you can test it out quickly (please don't check this file in though :-)
) The eventState is then incorrect and picking does not work. The only
changes are in CompositeViewer.cpp (eventTraversal() method), and fix
the problem for me.
Note that this is a slightly different file than the last one I sent to
osg-users a few weeks ago. Please review this one.
Thanks,
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.guay at cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CompositeViewer.zip
Type: application/x-zip-compressed
Size: 9320 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080225/b1425250/attachment.bin
More information about the osg-submissions
mailing list