Merge branch 'nif_file' into graphics

This commit is contained in:
scrawl 2013-01-12 06:41:13 +01:00
commit 3f4d8c08e4

View file

@ -177,6 +177,8 @@ NIFFile::NIFFile(const std::string &name, psudo_private_modifier)
{
inp = Ogre::ResourceGroupManager::getSingleton().openResource(name);
parse();
// Make sure to close the file after it was loaded into memory
inp.setNull();
}
NIFFile::~NIFFile()