|
|
|
@ -13,6 +13,7 @@
|
|
|
|
|
#include <components/resource/scenemanager.hpp>
|
|
|
|
|
#include <components/resource/bulletshape.hpp>
|
|
|
|
|
#include <components/detournavigator/navigator.hpp>
|
|
|
|
|
#include <components/detournavigator/debug.hpp>
|
|
|
|
|
|
|
|
|
|
#include "../mwbase/environment.hpp"
|
|
|
|
|
#include "../mwbase/world.hpp"
|
|
|
|
@ -259,6 +260,7 @@ namespace MWWorld
|
|
|
|
|
void Scene::unloadCell (CellStoreCollection::iterator iter)
|
|
|
|
|
{
|
|
|
|
|
Log(Debug::Info) << "Unloading cell " << (*iter)->getCell()->getDescription();
|
|
|
|
|
DetourNavigator::log("unload cell ", (*iter)->getCell()->getDescription());
|
|
|
|
|
|
|
|
|
|
const auto navigator = MWBase::Environment::get().getWorld()->getNavigator();
|
|
|
|
|
ListAndResetObjectsVisitor visitor;
|
|
|
|
@ -309,6 +311,7 @@ namespace MWWorld
|
|
|
|
|
if(result.second)
|
|
|
|
|
{
|
|
|
|
|
Log(Debug::Info) << "Loading cell " << cell->getCell()->getDescription();
|
|
|
|
|
DetourNavigator::log("load cell ", cell->getCell()->getDescription());
|
|
|
|
|
|
|
|
|
|
float verts = ESM::Land::LAND_SIZE;
|
|
|
|
|
float worldsize = ESM::Land::REAL_SIZE;
|
|
|
|
|