Moved get/setUserData from osg::Node into its superclass osg::Object to

allow other subclasses to add their own custom data.
This commit is contained in:
Robert Osfield
2002-07-18 19:41:52 +00:00
parent ff8b4c001d
commit 34be82c1ee
5 changed files with 22 additions and 21 deletions

View File

@@ -33,7 +33,6 @@ Node::Node(const Node& node,const CopyOp& copyop):
_cullingActive(node._cullingActive),
_numChildrenWithCullingDisabled(0), // assume no children yet.
_numChildrenWithOccluderNodes(0),
_userData(copyop(node._userData.get())),
_nodeMask(node._nodeMask),
_descriptions(node._descriptions),
_dstate(copyop(node._dstate.get()))