From ce3bfff46a1414967bc580939ebcded4b5b1a7df Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 1 Sep 2005 19:55:41 +0000 Subject: [PATCH] Removed redundent code. --- src/osgSim/OverlayNode.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/osgSim/OverlayNode.cpp b/src/osgSim/OverlayNode.cpp index 5c3fc3d6f..557497133 100644 --- a/src/osgSim/OverlayNode.cpp +++ b/src/osgSim/OverlayNode.cpp @@ -17,24 +17,6 @@ using namespace osgSim; -// use this cull callback to allow the camera to traverse the OverlaySubgraph's children without -// actuall having them assigned as children to the camea itself. This make the camera a -// decorator without ever directly being assigned to it. -class OverlayTraverseNodeCallback : public osg::NodeCallback -{ -public: - - OverlayTraverseNodeCallback(osg::Node* node):_node(node) {} - - virtual void operator()(osg::Node*, osg::NodeVisitor* nv) - { - osg::notify(osg::NOTICE)<<"Oddddd stuff"<accept(*nv); - } - - osg::Node* _node; -}; - OverlayNode::OverlayNode(): _textureUnit(1) {