From: Perttu Ahola Date: Sat, 18 Jun 2011 19:31:24 +0000 (+0300) Subject: Modified the mesh update thread's sleep time to speed it up (it was way too high) X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=02006a95402c41833779e3825c44b39d600e566b;p=zefram%2Fminetest%2Fminetest_engine.git Modified the mesh update thread's sleep time to speed it up (it was way too high) --- diff --git a/src/client.cpp b/src/client.cpp index e494056f..167dd072 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -39,10 +39,12 @@ void * MeshUpdateThread::Thread() QueuedMeshUpdate *q = m_queue_in.pop(); if(q == NULL) { - sleep_ms(50); + sleep_ms(3); continue; } + ScopeProfiler sp(&g_profiler, "mesh make"); + scene::SMesh *mesh_new = NULL; mesh_new = makeMapBlockMesh(q->data);