Added a clear() into the RefNodePath operator = (NodePath) method.

This commit is contained in:
Robert Osfield 2004-11-04 20:25:35 +00:00
parent f85d2c7c9e
commit 72330d33ee

View File

@ -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)