mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
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);
|
||||
created = skel;
|
||||
}
|
||||
created->getOrCreateUserDataContainer()->addUserObject(textkeys);
|
||||
|
||||
if (!textkeys->mTextKeys.empty())
|
||||
created->getOrCreateUserDataContainer()->addUserObject(textkeys);
|
||||
|
||||
return created;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue