forked from mirror/openmw-tes3mp
Fix last commit
This commit is contained in:
parent
0a723ab075
commit
fce43854bc
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue