mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Count navmeshdb reads for each reading job
This commit is contained in:
parent
5ae8b9cae1
commit
a90aa7d8b2
@ -823,6 +823,8 @@ namespace DetourNavigator
|
||||
|
||||
void DbWorker::processReadingJob(JobIt job)
|
||||
{
|
||||
++mGetTileCount;
|
||||
|
||||
Log(Debug::Debug) << "Processing db read job " << job->mId;
|
||||
|
||||
if (job->mInput.empty())
|
||||
@ -865,7 +867,6 @@ namespace DetourNavigator
|
||||
}
|
||||
|
||||
job->mCachedTileData = mDb->getTileData(job->mWorldspace, job->mChangedTile, job->mInput);
|
||||
++mGetTileCount;
|
||||
}
|
||||
|
||||
void DbWorker::processWritingJob(JobIt job)
|
||||
|
Loading…
Reference in New Issue
Block a user