get all textures
parent
3b5f52a4d1
commit
c2bbd919ea
|
@ -128,7 +128,7 @@ namespace OpenSim.Modules.TextureFetcher
|
|||
Primitive.TextureEntry textures = part.Shape.Textures;
|
||||
int allSides = part.GetNumberOfSides();
|
||||
|
||||
for (uint i = 0; i < allSides; i++)
|
||||
for (uint i = 0; i <= allSides; i++)
|
||||
{
|
||||
if (textures.FaceTextures[i] != null)
|
||||
{
|
||||
|
@ -140,6 +140,9 @@ namespace OpenSim.Modules.TextureFetcher
|
|||
}
|
||||
}
|
||||
|
||||
if (part.Shape.SculptTexture != UUID.Zero)
|
||||
allTextures.Add(part.Shape.SculptTexture);
|
||||
|
||||
//Convert texture uuid list to inventar items.
|
||||
foreach (UUID texture in allTextures)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue