From Sukender, (Benoit Neil) "adding a few convinience methods to osg::Node (ouch!). Just tell me if you find them useful:
From Sukender, (Benoit Neil) "adding a few convinience methods to osg::Node (ouch!). Just tell me if you find them useful:

/** Convinience method that sets the update callback of the node if it doesn't exist, or nest it into the existing one. */
void addUpdateCallback(NodeCallback* nc);

/** Convinience method that removes a given callback from a node, even if that callback is nested. There is no error return in case the given callback is not found. */
void removeUpdateCallback(NodeCallback* nc);

... and the same for Event and Cull callbacks methods."


XiaoCC/osg,artoolkit/osg,omega-hub/osg,stmh/osg,ghub/osg,XiaoCC/osg,stmh/osg,ntoand/osg,artoolkit/osg,omega-hub/osg,ghub/osg,XiaoCC/osg,ntoand/osg,koshman86/osg,omega-hub/osg,artoolkit/osg,koshman86/osg,ghub/osg,artoolkit/osg,koshman86/osg,stmh/osg,XiaoCC/osg,XiaoCC/osg,ntoand/osg,stmh/osg,omega-hub/osg,ghub/osg,ntoand/osg,koshman86/osg,stmh/osg