From 1cd1ab1c60bf1af639c62cd4df51d3090d418ad4 Mon Sep 17 00:00:00 2001 From: scrawl <720642+scrawl@users.noreply.github.com> Date: Sat, 26 Aug 2017 11:30:55 +0000 Subject: [PATCH] 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. --- include/osg/Group | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/Group b/include/osg/Group index 460c0690e..217a6d072 100644 --- a/include/osg/Group +++ b/include/osg/Group @@ -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.