remove the pointless check of the face texture struct against null in Bot.Objects_NewPrim()

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-11-03 22:52:14 +00:00
parent e4bdf1e78f
commit 69a4057135
1 changed files with 1 additions and 3 deletions

View File

@ -449,12 +449,10 @@ namespace pCampBot
{
UUID textureID = prim.Textures.FaceTextures[i].TextureID;
if (textureID != null && textureID != UUID.Zero)
{
if (textureID != UUID.Zero)
GetTexture(textureID);
}
}
}
if (prim.Sculpt.SculptTexture != UUID.Zero)
{