mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 10:21:11 +00:00
Merge branch 'nif_file' into graphics
This commit is contained in:
commit
3f4d8c08e4
@ -177,6 +177,8 @@ NIFFile::NIFFile(const std::string &name, psudo_private_modifier)
|
|||||||
{
|
{
|
||||||
inp = Ogre::ResourceGroupManager::getSingleton().openResource(name);
|
inp = Ogre::ResourceGroupManager::getSingleton().openResource(name);
|
||||||
parse();
|
parse();
|
||||||
|
// Make sure to close the file after it was loaded into memory
|
||||||
|
inp.setNull();
|
||||||
}
|
}
|
||||||
|
|
||||||
NIFFile::~NIFFile()
|
NIFFile::~NIFFile()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user