add MaterialID
parent
61cb8c2e85
commit
b4def9d65d
|
@ -116,8 +116,16 @@ namespace OpenSim.Modules.TextureFetcher
|
|||
Primitive.TextureEntry textures = part.Shape.Textures;
|
||||
int allSides = part.GetNumberOfSides();
|
||||
for (uint i = 0; i < allSides; i++)
|
||||
{
|
||||
if (textures.FaceTextures[i] != null)
|
||||
allTextures.Add(textures.FaceTextures[i].TextureID);
|
||||
{
|
||||
if (textures.FaceTextures[i].TextureID != null)
|
||||
allTextures.Add(textures.FaceTextures[i].TextureID);
|
||||
|
||||
if (textures.FaceTextures[i].MaterialID != null)
|
||||
allTextures.Add(textures.FaceTextures[i].MaterialID);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//Convert texture uuid list to inventar items.
|
||||
|
|
Loading…
Reference in New Issue