Clarify a couple error messages

This commit is contained in:
Marianne Gagnon
2014-01-24 18:48:40 -05:00
parent 878d0dcf05
commit 190cc9fa9a
2 changed files with 3 additions and 3 deletions

View File

@@ -291,7 +291,7 @@ Material::Material(const XMLNode *node, int index, bool deprecated)
if (m_disable_z_write && !m_alpha_blending && !m_add)
{
Log::warn("material", "Disabling writes to z buffer only makes sense when compositing is blending or additive");
Log::warn("material", "Disabling writes to z buffer only makes sense when compositing is blending or additive (for %s)", m_texname.c_str());
m_disable_z_write = false;
}

View File

@@ -476,8 +476,8 @@ void Track::getMusicInformation(std::vector<std::string>& filenames,
m_music.push_back(mi);
else
Log::warn("track",
"Music information file '%s' not found - ignored.\n",
filenames[i].c_str());
"Music information file '%s' not found for track '%s' - ignored.\n",
filenames[i].c_str(), m_name.c_str());
} // for i in filenames