forked from teamnwah/openmw-tes3coop
Don't add empty text key objects
This commit is contained in:
parent
02d23564dc
commit
abcfe9bcee
1 changed files with 3 additions and 1 deletions
|
@ -358,7 +358,9 @@ namespace NifOsg
|
||||||
skel->addChild(created);
|
skel->addChild(created);
|
||||||
created = skel;
|
created = skel;
|
||||||
}
|
}
|
||||||
created->getOrCreateUserDataContainer()->addUserObject(textkeys);
|
|
||||||
|
if (!textkeys->mTextKeys.empty())
|
||||||
|
created->getOrCreateUserDataContainer()->addUserObject(textkeys);
|
||||||
|
|
||||||
return created;
|
return created;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue