Fix typos and spelling.
This commit is contained in:
committed by
Robert Osfield
parent
c3008512f1
commit
02c310982e
@@ -203,14 +203,14 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
/** Convenience function for getting the User Object associated with specificed name from an Object's UserDataContainer.*/
|
||||
/** Convenience function for getting the User Object associated with specified name from an Object's UserDataContainer.*/
|
||||
inline Object* getUserObject(osg::Object* object, const std::string& name)
|
||||
{
|
||||
osg::UserDataContainer* udc = object->getUserDataContainer();
|
||||
return udc ? udc->getUserObject(name) : 0;
|
||||
}
|
||||
|
||||
/** Convenience function for getting the User Object associated with specificed name from an Object's UserDataContainer.*/
|
||||
/** Convenience function for getting the User Object associated with specified name from an Object's UserDataContainer.*/
|
||||
inline const Object* getUserObject(const osg::Object* object, const std::string& name)
|
||||
{
|
||||
const osg::UserDataContainer* udc = object->getUserDataContainer();
|
||||
|
||||
Reference in New Issue
Block a user