1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 23:53:52 +00:00

Fix last commit

This commit is contained in:
scrawl 2015-12-17 03:49:18 +01:00
parent 0a723ab075
commit fce43854bc

View file

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