remove an invalid null UUID check which caused a warning
parent
fad4241e4e
commit
33eea62606
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue