forked from teamnwah/openmw-tes3coop
Render maps after *all* cells have finished loading
Still not fixing Bug #772, but at least this will allow for background loading of terrain.
This commit is contained in:
parent
64c9932597
commit
8730b61362
1 changed files with 3 additions and 2 deletions
|
@ -162,8 +162,6 @@ namespace MWWorld
|
|||
mRendering.cellAdded (cell);
|
||||
|
||||
mRendering.configureAmbient(*cell);
|
||||
mRendering.requestMap(cell);
|
||||
mRendering.configureAmbient(*cell);
|
||||
}
|
||||
|
||||
// register local scripts
|
||||
|
@ -198,6 +196,9 @@ namespace MWWorld
|
|||
mechMgr->watchActor(player);
|
||||
|
||||
MWBase::Environment::get().getWindowManager()->changeCell(mCurrentCell);
|
||||
|
||||
for (CellStoreCollection::iterator active = mActiveCells.begin(); active!=mActiveCells.end(); ++active)
|
||||
mRendering.requestMap(*active);
|
||||
}
|
||||
|
||||
void Scene::changeToVoid()
|
||||
|
|
Loading…
Reference in a new issue