mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Minor cleanups and logging changes
This commit is contained in:
parent
77dd86a79c
commit
3cb8ce69d2
8 changed files with 37 additions and 41 deletions
|
@ -839,10 +839,10 @@ bool Client::loadMedia(const std::string &data, const std::string &filename,
|
|||
};
|
||||
name = removeStringEnd(filename, model_ext);
|
||||
if (!name.empty()) {
|
||||
verbosestream<<"Client: Storing model into memory: "
|
||||
<<"\""<<filename<<"\""<<std::endl;
|
||||
TRACESTREAM(<<"Client: Storing model into memory "
|
||||
"\""<<filename<<"\""<<std::endl);
|
||||
if(m_mesh_data.count(filename))
|
||||
errorstream<<"Multiple models with name \""<<filename.c_str()
|
||||
errorstream<<"Multiple models with name \""<<filename
|
||||
<<"\" found; replacing previous model"<<std::endl;
|
||||
m_mesh_data[filename] = data;
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue