mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Don't add empty text key objects
This commit is contained in:
parent
02d23564dc
commit
abcfe9bcee
@ -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…
x
Reference in New Issue
Block a user