forked from mirror/openmw-tes3mp
Merge branch 'terrain' of github.com:Yacoby/openmw into terrain
This commit is contained in:
commit
13e3955916
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue