Remove an unused field from EntityList

actorid
Chris Robinson 13 years ago
parent 81ce8dbe12
commit c5b9098517

@ -388,7 +388,6 @@ void NpcAnimation::removeEntities(NifOgre::EntityList &entities)
}
entities.mEntities.clear();
entities.mSkelBase = NULL;
entities.mRootNode = NULL;
}
void NpcAnimation::removeIndividualPart(int type)

@ -1027,7 +1027,6 @@ EntityList NIFLoader::createEntities(Ogre::SceneNode *parent, const std::string
if(meshes.size() == 0)
return entitylist;
entitylist.mRootNode = parent;
Ogre::SceneManager *sceneMgr = parent->getCreator();
for(size_t i = 0;i < meshes.size();i++)
{

@ -62,9 +62,8 @@ namespace NifOgre
struct EntityList {
std::vector<Ogre::Entity*> mEntities;
Ogre::Entity *mSkelBase;
Ogre::SceneNode *mRootNode;
EntityList() : mSkelBase(0), mRootNode(0)
EntityList() : mSkelBase(0)
{ }
};

Loading…
Cancel
Save