Reduce log-messages for "loaded texture" and "loaded mesh" from ELL_INFORMATION to ELL_DEBUG.

In larger projects those tend to spam the default log too much.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5547 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2017-10-21 19:28:05 +00:00
parent 92799fded9
commit a2e51ecf80
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
--------------------------
Changes in 1.9 (not yet released)
- Reduce log-messages for "loaded texture" and "loaded mesh" from ELL_INFORMATION to ELL_DEBUG.
- Add IGUIButton::setOverrideColor to allow overriding text-color (same function as statictexts and editboxes have).
- Add functions IGUIButton::getClickShiftState and IGUIButton::getClickControlState to get shift/ctrl key-state when a button was clicked. Thanks @StarSonata for patch.
- Add function ISceneManager::clearAllRegisteredNodesForRendering.

View File

@ -647,7 +647,7 @@ video::ITexture* CNullDriver::loadTextureFromFile(io::IReadFile* file, const io:
}
if (texture)
os::Printer::log("Loaded texture", file->getFileName());
os::Printer::log("Loaded texture", file->getFileName(), ELL_DEBUG);
}
for (u32 i = 0; i < imageArray.size(); ++i)

View File

@ -465,7 +465,7 @@ IAnimatedMesh* CSceneManager::getUncachedMesh(io::IReadFile* file, const io::pat
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;
}