diff --git a/include/osg/RefNodePath b/include/osg/RefNodePath index ee4d61a63..57aa5d353 100644 --- a/include/osg/RefNodePath +++ b/include/osg/RefNodePath @@ -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)