Hi Glen,

I have just done a review of your changes and have come away with the
feeling that the changes indicate problems elsewhere in the set up of the
Traits being passed in when an existing window is provided.  It looks to me
like the Traits x and y values  should be set to the values of the actual
window being passed in, with the x and y set to the top left of the windows
position, not to 0,0 as the MFC example does.

The Traits::x,y,width, height are not viewport values in window
coordinates, they are coordinates of the window itself relative to the
desktop own coordinate frame.

It feel like the OSG's MFC example is where the problem lies and this is
where the problem should be fixed.  Same applies to client applications.

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

Reply via email to