forked from mirror/openmw-tes3mp
Don't get the text keys if they're not being requested
This commit is contained in:
parent
683ced54a0
commit
3131e8dae6
1 changed files with 1 additions and 1 deletions
|
@ -1092,7 +1092,7 @@ EntityList NIFLoader::createEntities(Ogre::SceneNode *parent, TextKeyMap *textke
|
||||||
entitylist.mSkelBase = entity;
|
entitylist.mSkelBase = entity;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(entitylist.mSkelBase)
|
if(entitylist.mSkelBase && textkeys)
|
||||||
{
|
{
|
||||||
// Would be nice if Ogre::SkeletonInstance allowed access to the 'master' Ogre::SkeletonPtr.
|
// Would be nice if Ogre::SkeletonInstance allowed access to the 'master' Ogre::SkeletonPtr.
|
||||||
Ogre::SkeletonManager &skelMgr = Ogre::SkeletonManager::getSingleton();
|
Ogre::SkeletonManager &skelMgr = Ogre::SkeletonManager::getSingleton();
|
||||||
|
|
Loading…
Reference in a new issue