Yes, that's a pitfall and disadvantage of the Visitor pattern itself when adding new node types. The traversal is actually executing code compiled for the base NodeVisitor (not your derived one) so your "virtual void DerivedVisitor:apply(NewDerivedNode&)" doesn't even exist in that context. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
- [osg-users] NodeVisitor won't visit TerrainTile Pecoraro, Alexander N
- Re: [osg-users] NodeVisitor won't visit Terrain... Mark Sciabica
- Re: [osg-users] NodeVisitor won't visit Terrain... Jim Brooks

