forked from teamnwah/openmw-tes3coop
Lock NIF cache when loading an interior cell as well. Should improve load performance.
This commit is contained in:
parent
c004fb778f
commit
45847c67ad
1 changed files with 1 additions and 0 deletions
|
@ -350,6 +350,7 @@ namespace MWWorld
|
|||
|
||||
void Scene::changeToInteriorCell (const std::string& cellName, const ESM::Position& position)
|
||||
{
|
||||
Nif::NIFFile::CacheLock lock;
|
||||
MWBase::Environment::get().getWorld ()->getFader ()->fadeOut(0.5);
|
||||
|
||||
mRendering.enableTerrain(false);
|
||||
|
|
Loading…
Reference in a new issue