Converted the instance of osgNew and osgDelete back to new and delete as part

of depecating the include/osg/MemoryManager
This commit is contained in:
Robert Osfield
2002-12-16 13:40:58 +00:00
parent de9b0b336a
commit 00cc3a1833
186 changed files with 812 additions and 809 deletions

View File

@@ -92,7 +92,7 @@ void InsertImpostorsVisitor::insertImpostors()
// to an impostor.
Node::ParentList parentList = group->getParents();
Impostor* impostor = osgNew Impostor;
Impostor* impostor = new Impostor;
// standard LOD settings
impostor->addChild(group);
@@ -139,7 +139,7 @@ void InsertImpostorsVisitor::insertImpostors()
// to an impostor.
Node::ParentList parentList = lod->getParents();
osg::Impostor* impostor = osgNew Impostor;
osg::Impostor* impostor = new Impostor;
// standard LOD settings
for(unsigned int ci=0;ci<lod->getNumChildren();++ci)