mirror of
https://github.com/OpenMW/openmw.git
synced 2026-05-06 07:56:40 -04:00
Skip progress reporting on no navmesh tiles to generate
This commit is contained in:
@@ -211,6 +211,8 @@ namespace NavMeshTool
|
||||
|
||||
Status wait()
|
||||
{
|
||||
if (mExpected == 0)
|
||||
return Status::Ok;
|
||||
constexpr std::chrono::seconds transactionInterval(1);
|
||||
std::unique_lock lock(mMutex);
|
||||
auto start = std::chrono::steady_clock::now();
|
||||
|
||||
Reference in New Issue
Block a user