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:
@@ -119,7 +119,7 @@ void Paragraph::createDrawables()
|
||||
++itr)
|
||||
{
|
||||
|
||||
osgText::Text* textDrawable = osgNew osgText::Text(_font.get());
|
||||
osgText::Text* textDrawable = new osgText::Text(_font.get());
|
||||
textDrawable->setAlignment(_alignment);
|
||||
textDrawable->setPosition(pos);
|
||||
textDrawable->setText(*itr);
|
||||
|
||||
Reference in New Issue
Block a user