Don't add empty text key objects

pull/915/head
scrawl 9 years ago
parent 02d23564dc
commit abcfe9bcee

@ -358,6 +358,8 @@ namespace NifOsg
skel->addChild(created);
created = skel;
}
if (!textkeys->mTextKeys.empty())
created->getOrCreateUserDataContainer()->addUserObject(textkeys);
return created;

Loading…
Cancel
Save