mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-24 18:41:34 +00:00
Count navmeshdb reads for each reading job
This commit is contained in:
parent
5ae8b9cae1
commit
a90aa7d8b2
1 changed files with 2 additions and 1 deletions
|
@ -823,6 +823,8 @@ namespace DetourNavigator
|
||||||
|
|
||||||
void DbWorker::processReadingJob(JobIt job)
|
void DbWorker::processReadingJob(JobIt job)
|
||||||
{
|
{
|
||||||
|
++mGetTileCount;
|
||||||
|
|
||||||
Log(Debug::Debug) << "Processing db read job " << job->mId;
|
Log(Debug::Debug) << "Processing db read job " << job->mId;
|
||||||
|
|
||||||
if (job->mInput.empty())
|
if (job->mInput.empty())
|
||||||
|
@ -865,7 +867,6 @@ namespace DetourNavigator
|
||||||
}
|
}
|
||||||
|
|
||||||
job->mCachedTileData = mDb->getTileData(job->mWorldspace, job->mChangedTile, job->mInput);
|
job->mCachedTileData = mDb->getTileData(job->mWorldspace, job->mChangedTile, job->mInput);
|
||||||
++mGetTileCount;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DbWorker::processWritingJob(JobIt job)
|
void DbWorker::processWritingJob(JobIt job)
|
||||||
|
|
Loading…
Reference in a new issue