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:
@@ -64,7 +64,7 @@ void Drawable::removeParent(osg::Node* node)
|
||||
|
||||
osg::StateSet* Drawable::getOrCreateStateSet()
|
||||
{
|
||||
if (!_stateset) _stateset = osgNew StateSet;
|
||||
if (!_stateset) _stateset = new StateSet;
|
||||
return _stateset.get();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user