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