mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 00:45:31 +00:00
Merge pull request #1 from corristo/terrain
This commit is contained in:
commit
46b8d3a83e
1 changed files with 4 additions and 2 deletions
|
@ -78,13 +78,15 @@ MWRender::Player& RenderingManager::getPlayer(){
|
|||
|
||||
void RenderingManager::removeCell (MWWorld::Ptr::CellStore *store){
|
||||
objects.removeCell(store);
|
||||
mTerrainManager->cellRemoved(store);
|
||||
if (store->cell->isExterior())
|
||||
mTerrainManager->cellRemoved(store);
|
||||
}
|
||||
|
||||
void RenderingManager::cellAdded (MWWorld::Ptr::CellStore *store)
|
||||
{
|
||||
objects.buildStaticGeometry (*store);
|
||||
mTerrainManager->cellAdded(store);
|
||||
if (store->cell->isExterior())
|
||||
mTerrainManager->cellAdded(store);
|
||||
}
|
||||
|
||||
void RenderingManager::addObject (const MWWorld::Ptr& ptr){
|
||||
|
|
Loading…
Reference in a new issue