Hi,
While using the Viewer::setUpViewerAsEmbeddedInWindow() I saw a possible 
problem with it. If you setup your viewer that way, all GUI events seem to 
bring incorrect information about the window size. This is because that method 
does not call GUIEventAdapter::setWindowRectangle()  while the other setup 
methods do call it. So for example a call to ea.getWindowHeight() will always 
return the default 1024 value, no matter what your window size actually is.
Is that a bug or is that the way it is supposed to work?

Cheers,
Luca

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42446#42446





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

Reply via email to