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:
parent
c004fb778f
commit
45847c67ad
@ -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…
x
Reference in New Issue
Block a user