In pCampBot, don't try and pull down Primitive faces or sculpts set to null
parent
d9b0d7e752
commit
674b521fdd
|
@ -446,6 +446,10 @@ namespace pCampBot
|
|||
}
|
||||
|
||||
for (int i = 0; i < prim.Textures.FaceTextures.Length; i++)
|
||||
{
|
||||
Primitive.TextureEntryFace face = prim.Textures.FaceTextures[i];
|
||||
|
||||
if (face != null)
|
||||
{
|
||||
UUID textureID = prim.Textures.FaceTextures[i].TextureID;
|
||||
|
||||
|
@ -453,11 +457,10 @@ namespace pCampBot
|
|||
GetTexture(textureID);
|
||||
}
|
||||
}
|
||||
|
||||
if (prim.Sculpt.SculptTexture != UUID.Zero)
|
||||
{
|
||||
GetTexture(prim.Sculpt.SculptTexture);
|
||||
}
|
||||
|
||||
if (prim.Sculpt != null && prim.Sculpt.SculptTexture != UUID.Zero)
|
||||
GetTexture(prim.Sculpt.SculptTexture);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue