mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
fixed waterAdded
This commit is contained in:
parent
b3a186e729
commit
052cc47ee9
@ -128,6 +128,7 @@ void RenderingManager::cellAdded (MWWorld::Ptr::CellStore *store)
|
||||
mDebugging->cellAdded(store);
|
||||
if (store->cell->isExterior())
|
||||
mTerrainManager->cellAdded(store);
|
||||
waterAdded(store);
|
||||
}
|
||||
|
||||
void RenderingManager::addObject (const MWWorld::Ptr& ptr){
|
||||
|
@ -204,7 +204,6 @@ namespace MWWorld
|
||||
mWorld->adjustSky();
|
||||
|
||||
mCellChanged = true;
|
||||
mRendering.waterAdded(mCurrentCell);
|
||||
}
|
||||
|
||||
//We need the ogre renderer and a scene node.
|
||||
@ -257,8 +256,6 @@ namespace MWWorld
|
||||
mWorld->adjustSky();
|
||||
|
||||
mCellChanged = true;
|
||||
|
||||
mRendering.waterAdded(cell);
|
||||
}
|
||||
|
||||
void Scene::changeToExteriorCell (const ESM::Position& position)
|
||||
|
Loading…
Reference in New Issue
Block a user