Moved all references to osg::Cloner to osg::CopyOp.

This commit is contained in:
Robert Osfield
2002-01-29 14:04:06 +00:00
parent 9a6a96a7e7
commit 02ef10fcfa
64 changed files with 182 additions and 185 deletions

View File

@@ -21,7 +21,7 @@ StateSet::StateSet()
setRendingBinToInherit();
}
StateSet::StateSet(const StateSet& rhs,const Cloner& cloner):Object(rhs,cloner)
StateSet::StateSet(const StateSet& rhs,const CopyOp& copyop):Object(rhs,copyop)
{
_modeList = rhs._modeList;
@@ -31,7 +31,7 @@ StateSet::StateSet(const StateSet& rhs,const Cloner& cloner):Object(rhs,cloner)
{
StateAttribute::Type type = itr->first;
const RefAttributePair& rap = itr->second;
StateAttribute* attr = cloner(rap.first.get());
StateAttribute* attr = copyop(rap.first.get());
if (attr) _attributeList[type]=RefAttributePair(attr,rap.second);
}