Hi Jason, I have just reviewed your change against svn/trunk and believe svn/trunk to be correct. The dimensions passed into the the setUpViewerAsEmbeddedInWindow() method are for the window position and size not the viewport position and size, the method then sets the position and assumes the the viewport is the full size of the window.
Robert. On Fri, Jul 15, 2011 at 4:32 PM, Jason Beverage <[email protected]> wrote: > Hi Robert, > > Here is a small fix to properly set the Viewport in > setUpViewerAsEmbeddedInWindow if a non-zero x and y are passed in. > > Thanks! > > Jason > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
