mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
remove an invalid null UUID check which caused a warning
This commit is contained in:
@@ -416,14 +416,7 @@ 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;
|
||||
}
|
||||
}
|
||||
te.DefaultTexture.MaterialID = id;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user