Hi Rui,

I have finally got back on the submussions trail and have started by
merging your osgQt changes.  One change to InteractiveImageHandler has me
curious about the reason for the change.  To the bool
InteractiveImageHandler::mousePosition(osgViewer::View* view,
osg::NodeVisitor* nv, const osgGA::GUIEventAdapter& ea, int& x, int &y)
const method you added:

$ diff ViewerEventHandlers.cpp
~/Contributors/WangRui/src/osgViewer/ViewerEventHandlers.cpp
721a722,727
>     if (_fullscreen)
>     {
>         x = ea.getX();
>         y = ea.getY();
>         return true;
>     }

Did the original code produce the wrong values or is it simply you
optimizing for the special case of _fullscreen?

Cheers,
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to