mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Improve readability and infos in verbose log (#13828)
This commit is contained in:
parent
5949172735
commit
c3114132d3
11 changed files with 26 additions and 51 deletions
|
@ -353,14 +353,14 @@ public:
|
|||
if (!inventory_overlay.empty())
|
||||
cache_key += ":" + inventory_overlay;
|
||||
|
||||
infostream << "Lazily creating item texture and mesh for \""
|
||||
<< cache_key << "\""<<std::endl;
|
||||
|
||||
// Skip if already in cache
|
||||
auto it = m_clientcached.find(cache_key);
|
||||
if (it != m_clientcached.end())
|
||||
return it->second.get();
|
||||
|
||||
infostream << "Lazily creating item texture and mesh for \""
|
||||
<< cache_key << "\"" << std::endl;
|
||||
|
||||
ITextureSource *tsrc = client->getTextureSource();
|
||||
|
||||
// Create new ClientCached
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue