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:
@@ -14,6 +14,7 @@ Referenced::~Referenced()
|
||||
}
|
||||
|
||||
|
||||
Object::Object(const Object& obj,const CopyOp&):
|
||||
Object::Object(const Object& obj,const CopyOp& copyop):
|
||||
Referenced(),
|
||||
_dataVariance(obj._dataVariance) {}
|
||||
_dataVariance(obj._dataVariance),
|
||||
_userData(copyop(obj._userData.get())) {}
|
||||
|
||||
Reference in New Issue
Block a user