mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-03 17:37:18 +00:00
Log path to navmesh.db
This commit is contained in:
parent
a5ba721eca
commit
9bff292a29
@ -15,10 +15,11 @@ namespace DetourNavigator
|
||||
std::unique_ptr<NavMeshDb> db;
|
||||
if (settings.mEnableNavMeshDiskCache)
|
||||
{
|
||||
const std::string path = Files::pathToUnicodeString(userDataPath / "navmesh.db");
|
||||
Log(Debug::Info) << "Using " << path << " to store navigation mesh cache";
|
||||
try
|
||||
{
|
||||
db = std::make_unique<NavMeshDb>(
|
||||
Files::pathToUnicodeString(userDataPath / "navmesh.db"), settings.mMaxDbFileSize);
|
||||
db = std::make_unique<NavMeshDb>(path, settings.mMaxDbFileSize);
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user