Hi osg-users and Happy New Year to all of you :-) I recently downloaded OSG 2.7.8 to link with my application (wich was linked before with OSG 2.7.4) and I discovered a bug wich can be easily produced by
modifying osgcompositeviewer.cpp in Examples osgcompositeviewer. *At line 236 :* osgViewer::View* view = new osgViewer::View; viewer.addView(view); view->setSceneData(scene.get()); *replace by swapping 2 lines (setting scene data before adding new view) :* osgViewer::View* view = new osgViewer::View; view->setSceneData(scene.get()); viewer.addView(view); *Be sure to run the example to call this code section...* It crashes in osgViewer::View::setSceneData when calling getViewerBase()->getThreadingModel() because viewerbase is NULL With older version 2.7.4 it works, apparently not with new 2.7.8. I need my application to stay the same, setting data scene before adding new view to the composite viewer, if you have any tips to do this let me hear. -- Alexandre AMALRIC Ingénieur R&D =================================== PIXXIM S.A. 73E, rue Perrin-Solliers 13006 Marseille http://www.pixxim.fr
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

