Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Fix loaded texture log spam #5

Merged
merged 1 commit into from
May 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/Irrlicht/CNullDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ video::ITexture* CNullDriver::loadTextureFromFile(io::IReadFile* file, const io:
{
// create texture from surface
texture = createDeviceDependentTexture(image, hashName.size() ? hashName : file->getFileName() );
os::Printer::log("Loaded texture", file->getFileName());
os::Printer::log("Loaded texture", file->getFileName(), ELL_DEBUG);
image->drop();
}

Expand Down
2 changes: 1 addition & 1 deletion source/Irrlicht/CQ3LevelMesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ void CQ3LevelMesh::loadTextures(tBSPLump* l, io::IReadFile* file)
{
Textures[i].flags = os::Byteswap::byteswap(Textures[i].flags);
Textures[i].contents = os::Byteswap::byteswap(Textures[i].contents);
//os::Printer::log("Loaded texture", Textures[i].strName, ELL_INFORMATION);
//os::Printer::log("Loaded texture", Textures[i].strName, ELL_DEBUG);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions source/Irrlicht/CSceneManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ IAnimatedMesh* CSceneManager::getMesh(const io::path& filename)
if (!msh)
os::Printer::log("Could not load mesh, file format seems to be unsupported", filename, ELL_ERROR);
else
os::Printer::log("Loaded mesh", filename, ELL_INFORMATION);
os::Printer::log("Loaded mesh", filename, ELL_DEBUG);

return msh;
}
Expand Down Expand Up @@ -446,7 +446,7 @@ IAnimatedMesh* CSceneManager::getMesh(io::IReadFile* file)
if (!msh)
os::Printer::log("Could not load mesh, file format seems to be unsupported", file->getFileName(), ELL_ERROR);
else
os::Printer::log("Loaded mesh", file->getFileName(), ELL_INFORMATION);
os::Printer::log("Loaded mesh", file->getFileName(), ELL_DEBUG);

return msh;
}
Expand Down