Merge branch 'terrain' of github.com:Yacoby/openmw into terrain

This commit is contained in:
Jacob Essex 2012-02-28 16:22:19 +00:00
commit 13e3955916

View file

@ -78,12 +78,14 @@ MWRender::Player& RenderingManager::getPlayer(){
void RenderingManager::removeCell (MWWorld::Ptr::CellStore *store){
objects.removeCell(store);
if (store->cell->isExterior())
mTerrainManager->cellRemoved(store);
}
void RenderingManager::cellAdded (MWWorld::Ptr::CellStore *store)
{
objects.buildStaticGeometry (*store);
if (store->cell->isExterior())
mTerrainManager->cellAdded(store);
}