Hi,

I am trying to build a Qt application with multiple independent OSG scene 
graphs, each of which in it's own tab in a QTabWidget. I am using the 
osgViewer::Viewer (not osgViewer::CompositeViewer) version of the adapter 
widget from the osgviewerQT example. Each tab has an instance of the adapter 
widget managing it's scene graph. 

When the application has more than one tabs and when I try to close one of 
them, sometimes the scene graph in the other tab may disappear, but I can still 
pick a node in the scene graph.

 Some people fixed a similar situation by sharing/not sharing the graphics 
context among the widgets, but none of the solutions that people suggested for 
the situations fix my problem.

I wonder if I should use a different approach for the OSG + QT integration or 
if I need to do something particular to the graphics context. I appreciate all 
of your suggestions.

Thank you!

Cheers,
Angus Lau

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





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

Reply via email to