I figured I give this its own thread, since maybe I'm doing something a
little out-of-the-ordinary (the last message really was about the broken
list-search...if you already know it's broken, a note on the search page
would be *greatly* appreciated).

Caveat: I was using the 1.9.5 release, and am building 1.9.8 to try it
with as I type.

I've swig-wrapped my own derived version of SimpleViewer for use with
wxPython and another DLL on our end.  I can get a Cessna showing in the
embedded window, and I can rotate the camera (although not the way I'd
expect yet), but I can't resize the OpenGL window to actually fit in the
wxPython widget it's drawing in.  I've tried resized(...) and
resizedImplementation(...), but to no avail (I'm calling them from my
Python script, rather than using the GUI adapter).  Looking into it
further, I saw that resizedImplementation() bails out when it doesn't
have any _traits.  When I created some, it now looks like it is bailing
out because the camera list is empty (or start == end, anyway).  Maybe
this won't be a problem deriving from Viewer instead... but if it's not
a moot point, am I missing something important on my derivation?

Off point: I'm very much looking forward to 2.0 and the new OSGQSG, and
it's great to see that the staff is growing! :)

All the best,
--Matt P.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to