From a90aa7d8b2fbd637cc42a74bb3afc46a61fdb9bb Mon Sep 17 00:00:00 2001 From: elsid Date: Sat, 13 May 2023 14:56:45 +0200 Subject: [PATCH] Count navmeshdb reads for each reading job --- components/detournavigator/asyncnavmeshupdater.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/detournavigator/asyncnavmeshupdater.cpp b/components/detournavigator/asyncnavmeshupdater.cpp index 0ba7906b6a..f30b325e60 100644 --- a/components/detournavigator/asyncnavmeshupdater.cpp +++ b/components/detournavigator/asyncnavmeshupdater.cpp @@ -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)