remove an invalid null UUID check which caused a warning

cpu-performance
dahlia 2013-07-08 17:12:39 -07:00
parent fad4241e4e
commit 33eea62606
1 changed files with 1 additions and 8 deletions

View File

@ -416,15 +416,8 @@ namespace OpenSim.Region.OptionalModules.MaterialsDemoModule
if (te.DefaultTexture == null)
m_log.Debug("[MaterialsDemoModule]: te.DefaultTexture is null");
else
{
if (te.DefaultTexture.MaterialID == null)
m_log.Debug("[MaterialsDemoModule]: te.DefaultTexture.MaterialID is null");
else
{
te.DefaultTexture.MaterialID = id;
}
}
}
else
{
if (te.FaceTextures.Length >= face - 1)