remove the pointless check of the face texture struct against null in Bot.Objects_NewPrim()
parent
e4bdf1e78f
commit
69a4057135
|
@ -449,12 +449,10 @@ namespace pCampBot
|
||||||
{
|
{
|
||||||
UUID textureID = prim.Textures.FaceTextures[i].TextureID;
|
UUID textureID = prim.Textures.FaceTextures[i].TextureID;
|
||||||
|
|
||||||
if (textureID != null && textureID != UUID.Zero)
|
if (textureID != UUID.Zero)
|
||||||
{
|
|
||||||
GetTexture(textureID);
|
GetTexture(textureID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (prim.Sculpt.SculptTexture != UUID.Zero)
|
if (prim.Sculpt.SculptTexture != UUID.Zero)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue