diff --git a/include/osg/Node b/include/osg/Node index 25054f961..16029632c 100644 --- a/include/osg/Node +++ b/include/osg/Node @@ -296,7 +296,7 @@ class OSG_EXPORT Node : public Object * * The most common use of these is during traversal of the scene graph. * For instance, when traversing the scene graph the osg::NodeVisitor does a bitwise - * AND of its TraversalMask with the Node#s NodeMask to + * AND of its TraversalMask with the Node's NodeMask to * determine if the Node should be processed/traversed. * * For example, if a Node has a NodeMask value of 0x02 (only 2nd bit set) diff --git a/include/osg/Referenced b/include/osg/Referenced index 45899f0d4..e8e6164e6 100644 --- a/include/osg/Referenced +++ b/include/osg/Referenced @@ -79,13 +79,13 @@ class OSG_EXPORT Referenced inline int ref() const; /** Decrement the reference count by one, indicating that - a pointer to this object is referencing it. If the + a pointer to this object is no longer referencing it. If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.*/ inline int unref() const; /** Decrement the reference count by one, indicating that - a pointer to this object is referencing it. However, do + a pointer to this object is no longer referencing it. However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete()