Hi Glenn, Its a "potential" problem but for most part won't be if you use the OSG sensibly - the addition and removal of subgraphs via PagedLOD is done single threaded as part of the update traversal so as long as you don't run code multi-threaded with this you should be fine.
If your NodePath lives longer than a frame then you'll need to convert it into a Ref converted NodePath Robert. On Nov 13, 2007 4:49 PM, Glenn Waldron <[EMAIL PROTECTED]> wrote: > Another intersection-related question for the group: > > LineSegmentIntersector::Intersection contains a "nodePath" member. However, > the osg::NodePath is a simple osg::vector<Node*> that doesn't use ref_ptr's. > So I'm not convinced that by the time you are finished intersecting, that > nodePath member contains valid references. > > I mention this because I'm trying to use that nodePath and getting crashes > that look suspiciously like the kind you get when you reference deleted > objects. The problem only arises when traversing PagedLOD nodes (since those > nodes aren't guaranteed to stay resident). > > Thanks again. -gw > > -- > Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791 > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

