Added a clear() into the RefNodePath operator = (NodePath) method.
This commit is contained in:
parent
f85d2c7c9e
commit
72330d33ee
@ -48,6 +48,7 @@ class RefNodePath : public NodeList
|
||||
|
||||
RefNodePath& operator = (const NodePath& rhs)
|
||||
{
|
||||
clear();
|
||||
for(osg::NodePath::const_iterator itr=rhs.begin();
|
||||
itr != rhs.end();
|
||||
++itr)
|
||||
|
Loading…
Reference in New Issue
Block a user