mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Instrument touchMapBlocks and block loading/deserialization. (#13314)
This commit is contained in:
parent
f1feeb319c
commit
8f25f487fe
2 changed files with 6 additions and 0 deletions
|
@ -623,6 +623,8 @@ void ClientMap::touchMapBlocks()
|
|||
if (m_control.range_all || m_loops_occlusion_culler)
|
||||
return;
|
||||
|
||||
ScopeProfiler sp(g_profiler, "CM::touchMapBlocks()", SPT_AVG);
|
||||
|
||||
v3s16 cam_pos_nodes = floatToInt(m_camera_position, BS);
|
||||
|
||||
v3s16 p_blocks_min;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue