Comment two very spammy debug messages that the usr can't do anything about

Make a third one conditional.
This commit is contained in:
Melanie Thielker
2017-01-30 12:58:15 +00:00
parent 32c1127809
commit a17db1b3cd
2 changed files with 4 additions and 3 deletions

View File

@@ -329,7 +329,8 @@ namespace OpenSim.Region.OptionalModules.Materials
AssetBase matAsset = m_scene.AssetService.Get(id.ToString());
if (matAsset == null || matAsset.Data == null || matAsset.Data.Length == 0 )
{
m_log.WarnFormat("[Materials]: Prim \"{0}\" ({1}) contains unknown material ID {2}", part.Name, part.UUID, id);
if (id != UUID.Zero)
m_log.WarnFormat("[Materials]: Prim \"{0}\" ({1}) contains unknown material ID {2}", part.Name, part.UUID, id);
return;
}