Hi filnet,
> > Code looks like this > > But I still get the invalid enumerant error followed by a crash. > there is one missing step in your code - you said you have a detached subgraph. The OSG does not hold any pointers to detached subgraphs, so it can't do the cleanup on its own. Only your application knows where those subgraphs are stored. So instead of Code: view->releaseGLObjects(); You need to Code: for all detached subgraphs: node->releaseGLObjects(); View::releaseGLObjects can only release objects that are currently attached to the root scene graph. Cheers, Jannik[/quote][/code] ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63716#63716 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

