mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-25 12:41:01 +00:00
Fix last commit
This commit is contained in:
parent
0a723ab075
commit
fce43854bc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user