Commit 20b9be8f authored by cutealien's avatar cutealien

Reduce "Could not load sprite bank" error to ELL_DEBUG (not an error, loading...

Reduce "Could not load sprite bank" error to ELL_DEBUG (not an error, loading isn't implemented anyway and it's wrong for #Defaultfont).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3644 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 0a171111
......@@ -1520,10 +1520,9 @@ IGUISpriteBank* CGUIEnvironment::getSpriteBank(const io::path& filename)
return Banks[index].Bank;
// we don't have this sprite bank, we should load it
if (!FileSystem->existFile(b.NamedPath.getPath()))
{
os::Printer::log("Could not load sprite bank because the file does not exist", b.NamedPath.getPath(), ELL_ERROR);
os::Printer::log("Could not load sprite bank because the file does not exist", b.NamedPath.getPath(), ELL_DEBUG);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment