1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-14 01:19:59 +00:00

Lock NIF cache when loading an interior cell as well. Should improve load performance.

This commit is contained in:
scrawl 2014-01-05 18:38:21 +01:00
parent c004fb778f
commit 45847c67ad

View File

@ -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);