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

@@ -18,9 +18,9 @@ class SG_EXPORT LightSource : public Node
LightSource();
LightSource(const LightSource& es, const Cloner& cloner=ShallowCopy()):
Node(es,cloner),
_light(dynamic_cast<osg::Light*>(cloner(es._light.get()))) {}
LightSource(const LightSource& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY):
Node(es,copyop),
_light(dynamic_cast<osg::Light*>(copyop(es._light.get()))) {}
META_Node(LightSource);