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)
|
if (te.DefaultTexture == null)
|
||||||
m_log.Debug("[MaterialsDemoModule]: te.DefaultTexture is null");
|
m_log.Debug("[MaterialsDemoModule]: te.DefaultTexture is null");
|
||||||
else
|
else
|
||||||
{
|
|
||||||
if (te.DefaultTexture.MaterialID == null)
|
|
||||||
m_log.Debug("[MaterialsDemoModule]: te.DefaultTexture.MaterialID is null");
|
|
||||||
else
|
|
||||||
{
|
|
||||||
te.DefaultTexture.MaterialID = id;
|
te.DefaultTexture.MaterialID = id;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (te.FaceTextures.Length >= face - 1)
|
if (te.FaceTextures.Length >= face - 1)
|
||||||
|
|
Loading…
Reference in New Issue