Hi Robert, I am aware of the possibility to define my own methods in the visitor but the point I was trying to explain is, that if I apply a visitor on a scene I would except that this visitor has finished its work after calling the node->accept(myVisitor)
If I have a RemoveXVisitor and I as the user and not the writer of it use this visitor as I am used to use them by Code: RemoveXVisitor v; node->accept(v); I would expect that the Visitor has done it's work, which it actually didn't since there is no "finalize" method I would need to write: Code: RemoveXVisitor v; node->accept(v); v.doTheJobActually(); So there is a discrepancy between what I would except from a visitor after it was passed to accept and what a visitor is able to do in it's apply method Greetings Sam ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35950#35950 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

