diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-05-19 17:11:41 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-05-19 17:11:41 +0300 |
commit | 22df8b81b39b98bb6c5f161ebcad57fe185492c8 (patch) | |
tree | 2070922c2adfd126e169c01704dbd1213b81d5c9 /src | |
parent | 7a427c9070ce7faa4e870e685fe096303a44b1f9 (diff) | |
download | minetest-22df8b81b39b98bb6c5f161ebcad57fe185492c8.tar.gz minetest-22df8b81b39b98bb6c5f161ebcad57fe185492c8.tar.bz2 minetest-22df8b81b39b98bb6c5f161ebcad57fe185492c8.zip |
Log more stuff in Client::afterContentReceived()
Diffstat (limited to 'src')
-rw-r--r-- | src/client.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 7f92e5176..72667a528 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2348,32 +2348,41 @@ ClientEvent Client::getClientEvent() void Client::afterContentReceived() { + verbosestream<<"Client::afterContentReceived() started"<<std::endl; assert(m_itemdef_received); assert(m_nodedef_received); assert(m_media_received); - + // remove the information about which checksum each texture // ought to have m_media_name_sha1_map.clear(); // Rebuild inherited images and recreate textures + verbosestream<<"Rebuilding images and textures"<<std::endl; m_tsrc->rebuildImagesAndTextures(); // Update texture atlas + verbosestream<<"Updating texture atlas"<<std::endl; if(g_settings->getBool("enable_texture_atlas")) m_tsrc->buildMainAtlas(this); // Update node aliases + verbosestream<<"Updating node aliases"<<std::endl; m_nodedef->updateAliases(m_itemdef); // Update node textures + verbosestream<<"Updating node textures"<<std::endl; m_nodedef->updateTextures(m_tsrc); // Update item textures and meshes + verbosestream<<"Updating item textures and meshes"<<std::endl; m_itemdef->updateTexturesAndMeshes(this); // Start mesh update thread after setting up content definitions + verbosestream<<"Starting mesh update thread"<<std::endl; m_mesh_update_thread.Start(); + + verbosestream<<"Client::afterContentReceived() done"<<std::endl; } float Client::getRTT(void) |