Changed NodeVisitor so that is subclasses from osg::Object rather than osg::Referenced to enable it to be used with serialization and scripting

This commit is contained in:
Robert Osfield
2013-09-24 15:08:23 +00:00
parent 874a7ed3b3
commit 796314c339
4 changed files with 20 additions and 10 deletions

View File

@@ -795,7 +795,6 @@ KdTreeBuilder::KdTreeBuilder():
}
KdTreeBuilder::KdTreeBuilder(const KdTreeBuilder& rhs):
osg::Referenced(true),
osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN),
_buildOptions(rhs._buildOptions),
_kdTreePrototype(rhs._kdTreePrototype)