On 2009-10-07, Randolph Fritz <[email protected]> wrote: > > Thank you, that helped a lot. My C++ code has now come up and run in a > Python GLUT test bed program, though I'm still having problems with > wxPython. >
And, this is why: > It turns out that osgViewer::Viewer::setUpViewerAsEmbeddedInWindow() > works much, much better when the window width and height are > non-zero. However, on the Mac (but not on Windows or Linux), > WxPython initially sets the width and height to zero, andthe window > is then resized. I hacked the code to set them to (1,1) when either was reported as zero, and the code now works. I suppose I could now write osgviewerWxPy. Randolph _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

