Fix last commit

openmw-38
scrawl 9 years ago
parent 0a723ab075
commit fce43854bc

@ -980,8 +980,10 @@ namespace MWRender
mObjectRoot = created->asGroup();
if (!mObjectRoot)
{
mInsert->removeChild(created);
mObjectRoot = new osg::Group;
mObjectRoot->addChild(created);
mInsert->addChild(mObjectRoot);
}
}
else

Loading…
Cancel
Save