Fix docs for Group::addChild to match implementation

Checking for duplicates is only done if ENSURE_CHILD_IS_UNIQUE is defined, but this is never defined anywhere.
This commit is contained in:
scrawl 2017-08-26 11:30:55 +00:00 committed by GitHub
parent 55f5335f18
commit 1cd1ab1c60

View File

@ -43,7 +43,7 @@ class OSG_EXPORT Group : public Node
virtual void traverse(NodeVisitor& nv);
/** Add Node to Group.
* If node is not NULL and is not contained in Group then increment its
* If node is not NULL then increment its
* reference count, add it to the child list and dirty the bounding
* sphere to force it to recompute on next getBound() and return true for success.
* Otherwise return false. Scene nodes can't be added as child nodes.