Re: [osg-users] ref null pointer in Group::traverse

2017-03-20 Thread Sebastian Schmidt
Sry for the lack of information. Im using a CompositeViewer with two Views. One for the scenegraph and one for the GUI. The crash happens after i call CompositeViewer::run in a function where i dynamically add/change nodes of the scenegraph. In CompositeViewer::updateTraversal -> scene->updateSc

[osg-users] ref null pointer in Group::traverse

2017-03-16 Thread Sebastian Schmidt
Sometimes my app is crashing in Code: void Group::traverse(NodeVisitor& nv) { for(NodeList::iterator itr=_children.begin(); itr!=_children.end(); ++itr) { (*itr)->accept(nv); } } where the first element of children is present (a MatrixTransform node), but