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:
@@ -27,7 +27,7 @@ bool Drawable_readLocalData(Object& obj, Input& fr)
|
||||
|
||||
Drawable& drawable = static_cast<Drawable&>(obj);
|
||||
|
||||
static ref_ptr<StateSet> s_drawstate = osgNew osg::StateSet;
|
||||
static ref_ptr<StateSet> s_drawstate = new osg::StateSet;
|
||||
if (StateSet* readState = static_cast<StateSet*>(fr.readObjectOfType(*s_drawstate)))
|
||||
{
|
||||
drawable.setStateSet(readState);
|
||||
|
||||
Reference in New Issue
Block a user